This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > April 2005 > VRML Server renderer for Unix





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author VRML Server renderer for Unix
bvdb

2005-03-30, 7:45 am

Hello,
we have a web application where a VRML model is dynamically generated
(for a visualization of abstract organizational structures).
Now we suggest that site visitors install a VRML client (like Corona)
in order to view the 3D models, but some can or will not do so - for
those we want to offer selected views from the models as automatically
rendered bitmaps (png or jpeg).

So we are looking for a commandline-driven VRML-renderer that we can
install on our Linux server. Thanks for hints !
// Bernd vdB

Joerg Scheurich aka MUFTI

2005-04-01, 7:45 am

> in order to view the 3D models, but some can or will not do so - for
> those we want to offer selected views from the models as automatically
> rendered bitmaps (png or jpeg).


> So we are looking for a commandline-driven VRML-renderer that we can
> install on our Linux server. Thanks for hints !


Did you tried to install xvfb (the virtual X11 server) and run FreeWRL
in the snapshot generating mode on it ?

so long
MUFTI
--
Button3Grab=on|off
When off, window operations involving the right mouse button are
disabled so that application windows can receive right mouse button events.
From documentation about kwm
bvdb

2005-04-04, 12:08 pm

The snapshot mode in FreeWRL looks like a good idea - I don't
understand now why we need X11 but the wisdom might come with age -
thanx !


Joerg Scheurich aka MUFTI wrote:
> ...
> Did you tried to install xvfb (the virtual X11 server) and run

FreeWRL
> in the snapshot generating mode on it ?
>


Holger Grahn

2005-04-04, 6:26 pm


Hi

if a Windows versions would be applicable you could use Bitmanagement
Contact
embedded in a standalone executable with the version supporting Render to
bitmap of arbitrary size and render to Video functionality.

-- Holger

"bvdb" <bvdb@asa.de> schrieb im Newsbeitrag
news:1111866041.180870.284310@g14g2000cwa.googlegroups.com...
> Hello,
> we have a web application where a VRML model is dynamically generated
> (for a visualization of abstract organizational structures).
> Now we suggest that site visitors install a VRML client (like Corona)
> in order to view the 3D models, but some can or will not do so - for
> those we want to offer selected views from the models as automatically
> rendered bitmaps (png or jpeg).
>
> So we are looking for a commandline-driven VRML-renderer that we can
> install on our Linux server. Thanks for hints !
> // Bernd vdB
>



Holger Grahn

2005-04-09, 6:45 pm


Hi

if a Windows versions would be applicable you could use Bitmanagement
Contact
embedded in a standalone executable with the version supporting Render to
bitmap of arbitrary size and render to Video functionality.

-- Holger

"bvdb" <bvdb@asa.de> schrieb im Newsbeitrag
news:1111866041.180870.284310@g14g2000cwa.googlegroups.com...
> Hello,
> we have a web application where a VRML model is dynamically generated
> (for a visualization of abstract organizational structures).
> Now we suggest that site visitors install a VRML client (like Corona)
> in order to view the 3D models, but some can or will not do so - for
> those we want to offer selected views from the models as automatically
> rendered bitmaps (png or jpeg).
>
> So we are looking for a commandline-driven VRML-renderer that we can
> install on our Linux server. Thanks for hints !
> // Bernd vdB
>



Holger Grahn

2005-04-11, 7:04 pm


Hi

if a Windows versions would be applicable you could use Bitmanagement
Contact
embedded in a standalone executable with the version supporting Render to
bitmap of arbitrary size and render to Video functionality.

-- Holger

"bvdb" <bvdb@asa.de> schrieb im Newsbeitrag
news:1111866041.180870.284310@g14g2000cwa.googlegroups.com...
> Hello,
> we have a web application where a VRML model is dynamically generated
> (for a visualization of abstract organizational structures).
> Now we suggest that site visitors install a VRML client (like Corona)
> in order to view the 3D models, but some can or will not do so - for
> those we want to offer selected views from the models as automatically
> rendered bitmaps (png or jpeg).
>
> So we are looking for a commandline-driven VRML-renderer that we can
> install on our Linux server. Thanks for hints !
> // Bernd vdB
>



ASW

2005-04-20, 12:44 pm

"Did you tried to install xvfb (the virtual X11 server) and run FreeWRL
in the snapshot generating mode on it ?" - I use:

Xvfb :1 -screen 0 1024x768x32 &
freewrl --big --keypress .vsvsvsq my.wrl

Where "my.wrl" has three predefined viewpoints at which I want to take
three 800x600 pixel snapshots with the status bar turned off and then
quit. This does not work as expected because keypresses are handled
without "pauses". (eg. code from "CFuncs/MainLoop.c")

/* handle any events provided on the command line - Robert Sim
*/
if (keypress_string && isURLLoaded() && (!isTextureParsing()))
{
char* c=keypress_string;
while (*c) {
do_keyPress(*c,KeyPress);
c++;
}
keypress_string=NULL;
}

I could add a patch to insert pauses so the command line would be:

Xvfb :1 -screen 0 1024x768x32 &
freewrl --display :1 --big --keypress .vpspvpspvpspq coreworld.wrl

Note the "p" between each keypress and also the "--display" option to
select the Xvfb display. Maybe the "--display" option can be done
without changing freewrl?

suggestions appreciated!

Thanks,
Sasha
await @ genetics.med.harvard.edu

ASW

2005-04-20, 12:44 pm

"Did you tried to install xvfb (the virtual X11 server) and run FreeWRL
in the snapshot generating mode on it ?" - I use:

Xvfb :1 -screen 0 1024x768x32 &
freewrl --big --keypress .vsvsvsq my.wrl

Where "my.wrl" has three predefined viewpoints at which I want to take
three 800x600 pixel snapshots with the status bar turned off and then
quit. This does not work as expected because keypresses are handled
without "pauses". (eg. code from "CFuncs/MainLoop.c")

/* handle any events provided on the command line - Robert Sim
*/
if (keypress_string && isURLLoaded() && (!isTextureParsing()))
{
char* c=keypress_string;
while (*c) {
do_keyPress(*c,KeyPress);
c++;
}
keypress_string=NULL;
}

I could add a patch to insert pauses so the command line would be:

Xvfb :1 -screen 0 1024x768x32 &
freewrl --display :1 --big --keypress .vpspvpspvpspq coreworld.wrl

Note the "p" between each keypress and also the "--display" option to
select the Xvfb display. Maybe the "--display" option can be done
without changing freewrl?

suggestions appreciated!

Thanks,
Sasha
await @ genetics.med.harvard.edu

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews