[x3d-public] View3DScene in X3D-edit 4.0 on Linux

Don Brutzman brutzman at nps.edu
Tue Jun 1 16:46:05 PDT 2021


Hi John, yes it certainly sounds like X3D-Edit is the cause of the confusion you are describing.

When I try to change and save the view3dscene preferences, encountered the same problem.

Found and fixed the bug in source code, change checked in.

We are still having trouble with a bug that crept in Sunday night, will report when next release is available.

Thanks for this helpful issue report.

p.s. still happy to get improved default locations of linux or macos for any of these tools.

On 5/31/2021 7:50 PM, John Carlson wrote:
> 
> 
> It's not the file overwritten, it's the text field entry in X3D-Edit
> Preferences.   And when you try to launch the preference you've
> overwritten, to use view3dscene, it tries to launch "VivatyPlayer."   --
> "Error launching external viewer: Cannot run program "VivatyPlayer" (in
> directory "/tmp"): error=2, No such file or directory"  -- Sorry for any
> confusion.  The preference entry for viewx3dscene becomes
> "SwirlX3DPlayer", which is even more confusing. On top of that, the
> view3dScene menu item in the "View Saved Scene" menu does not get enabled.
> 
> Again, the FreeWRL preference works perfectly AFAICT, so it's very
> confusing!
> 
> On 5/31/21 2:10 PM, Michalis Kamburelis wrote:
>> To be honest I find it hard to believe that something else, not
>> view3dscene, brutally overwrites "/usr/bin/view3dscene" file. Are you
>> sure this is the case?
>>
>> It seems much more likely that you simply miss "/usr/bin/view3dscene"
>> file and X3D-Edit just makes a fallback on some other X3D browser. I
>> do not know how did you install view3dscene, but (as I wrote above) it
>> is not necessarily in /usr/bin/ (as non-root you may not even have
>> permissions to put it there). If you got view3dscene from
>> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcastle-engine.io%2Fview3dscene.php&data=04%7C01%7Cbrutzman%40nps.edu%7C8d50179025714d036e2f08d924a81289%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C637581128954989585%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=GqddG6jorLzTaZ3FclfudLzff3J2NaREyp7PtOUjOpQ%3D&reserved=0 , then it is wherever you
>> unpacked it -- and only you know where. Maybe
>> "/home/<myusername>/Downloads/view3dscene/view3dscene"?  It really
>> completely depends on you.
>>
>> If you are sure that something overwrites "/usr/bin/view3dscene",
>> please show me the output of
>>
>> ls -Flah /usr/bin/view3dscene
>>
>> strings /usr/bin/view3dscene > view3dscene-strings.txt
>>
>> on your system.
>>
>> Regards,
>> Michalis
>>
>> pon., 31 maj 2021 o 19:17 John Carlson <yottzumm at gmail.com> napisał(a):
>>> When I specify /usr/bin/view3dscene and press launch, it tries to VivatyPlayer.  SwirlX3Dplayer (sp?) overwrites /usr/bin/view3dscene.
>>>
>>> On Mon, May 31, 2021 at 5:05 AM Michalis Kamburelis <michalis.kambi at gmail.com> wrote:
>>>> What is the problem exactly? Where is the bugreport?
>>>>
>>>> If you download view3dscene from
>>>> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcastle-engine.io%2Fview3dscene.php&data=04%7C01%7Cbrutzman%40nps.edu%7C8d50179025714d036e2f08d924a81289%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C637581128954989585%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=GqddG6jorLzTaZ3FclfudLzff3J2NaREyp7PtOUjOpQ%3D&reserved=0 , it is a zip file, and the
>>>> binary is available whenever you unpacked it.
>>>>
>>>> If you installed view3dscene from binary packages, it is available in
>>>> /usr/bin/ , but you should probably not hardcode this path. It is
>>>> available on $PATH , and you should call it assuming that.
>>>>
>>>> There's nothing special about launching view3dscene. I mean we have a
>>>> number of command-line options (
>>>> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcastle-engine.io%2Fview3dscene.php%23section_command_line_options&data=04%7C01%7Cbrutzman%40nps.edu%7C8d50179025714d036e2f08d924a81289%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C637581128954989585%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=HAlPqOaUr5Kur1vptkJaYeKP69ozPBqFkLh%2BGadz5RU%3D&reserved=0
>>>> ) but from X3D-Edit you probably just want to launch it with 1
>>>> parameter - filename of X3D scene. view3dscene isn't different from
>>>> freewrl or other viewers in this regard.
>>>>
>>>> Regards,
>>>> Michalis
>>>>
>>>>
>>>> niedz., 30 maj 2021 o 16:55 John Carlson <yottzumm at gmail.com> napisał(a):
>>>>> I believe view3dscene gets installed in /usr/bin, last I checked, but Michalis would know better.
>>>>>
>>>>> John
>>>>>
>>>>> On Sun, May 30, 2021 at 9:52 AM Don Brutzman <brutzman at nps.edu> wrote:
>>>>>> On 5/29/2021 12:05 PM, John Carlson wrote:
>>>>>>> Michalis, you may want to monitor the bug report for adding view3dscene as an x3d player in X3D-Edit 4.0 on Linux.  I don’t know if your users use X3D-Edit or not.   I haven’t dug into why adding view3dscene doesn’t work yet.   Note that adding freewrl does work, so I’m puzzled.
>>>>>> Agreed, please let me know how to set defaults correctly.  X3D-Edit includes author-convenience functionality for launching related X3D viewers and authoring tools effectively.  The source includes user-modifiable default installation locations for Windows Mac and Linux, so I'm happy to include any updated default values whenever possible.
>>>>>>
>>>>>> * X3D-Edit Preferences panel exposes numerous settings for users
>>>>>>     https://savage.nps.edu/X3D-Edit/#Features
>>>>>>
>>>>>> all the best, Don
>>>>>> -- 
>>>>>> Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
>>>>>> Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
>>>>>> X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list