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

John Carlson yottzumm at gmail.com
Mon May 31 19:50:50 PDT 2021


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://castle-engine.io/view3dscene.php , 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://castle-engine.io/view3dscene.php , 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://castle-engine.io/view3dscene.php#section_command_line_options
>>> ) 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



More information about the x3d-public mailing list