Rear vew mirror - how to?

This is a discussion on Rear vew mirror - how to? within the vrml forums in Programming Languages category; Hello guys, Any idea how to go to implement a "rear view mirror"? I mean, something that simply looks and works like the usual rear vew mirror in the average cars game. Ideally, I am looking for a pure VRML97 solution that does not involve embedding the same world twice in my web page. Any clever idea very welcome. Thanks, Julio...

Go Back   Application Development Forum > Programming Languages > vrml

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-18-2008, 08:15 AM
julio@diegidio.name
Guest
 
Default Rear vew mirror - how to?

Hello guys,

Any idea how to go to implement a "rear view mirror"?

I mean, something that simply looks and works like the usual rear vew
mirror in the average cars game.

Ideally, I am looking for a pure VRML97 solution that does not involve
embedding the same world twice in my web page.

Any clever idea very welcome.

Thanks,

Julio
Reply With Quote
  #2  
Old 07-18-2008, 09:34 AM
fabricator
Guest
 
Default Re: Rear vew mirror - how to?

First option is to use Layer3d, and fill it with the contents of the
scene, minus the Layer3d node itself. Several vrml browsers support
this node.

Second option is to use CompositeTexture which is a BS Contact special
node that converts its children nodes into a special texture. Again
make sure it doesn't copy itself, as that causes a crash.

On Jul 18, 9:15*pm, ju...@diegidio.name wrote:
> Hello guys,
>
> Any idea how to go to implement a "rear view mirror"?
>
> I mean, something that simply looks and works like the usual rear vew
> mirror in the average cars game.
>
> Ideally, I am looking for a pure VRML97 solution that does not involve
> embedding the same world twice in my web page.
>
> Any clever idea very welcome.
>
> Thanks,
>
> Julio


Reply With Quote
  #3  
Old 07-18-2008, 11:25 AM
julio@diegidio.name
Guest
 
Default Re: Rear vew mirror - how to?

Hi fabricator,

Thanks for the answer. The Layer3d sounds great, I will try that way.
The CompositeTexture sounds even better, but I am striving to stay as
cross-platform as possible.

<dreaming>It's indeed a pity: looking at VRML after some 10 years,
with a new standard and the web technologies finally ready, we have a
new plugins war. How clever! Everybody trying to flood the web with
virtual chatting. How clever. Hey SGI guys: please please please,
could you provide a new Cosmo Player for us? There is an entire web
revoltion onyl waiting for a reliable, cross-platfrom, standards
conformant, EAI supporting, web browser plugin for VRML97 and X3D.
C'mon guys!!!</dreaming>

-LV


On 18 Jul, 14:34, fabricator <fabricatorgene...@yahoo.com> wrote:
> First option is to use Layer3d, and fill it with the contents of the
> scene, minus the Layer3d node itself. Several vrml browsers support
> this node.
>
> Second option is to use CompositeTexture which is a BS Contact special
> node that converts its children nodes into a special texture. Again
> make sure it doesn't copy itself, as that causes a crash.
>
> On Jul 18, 9:15*pm, ju...@diegidio.name wrote:
>
>
>
> > Hello guys,

>
> > Any idea how to go to implement a "rear view mirror"?

>
> > I mean, something that simply looks and works like the usual rear vew
> > mirror in the average cars game.

>
> > Ideally, I am looking for a pure VRML97 solution that does not involve
> > embedding the same world twice in my web page.

>
> > Any clever idea very welcome.

>
> > Thanks,

>
> > Julio

Reply With Quote
  #4  
Old 07-18-2008, 11:37 AM
simon
Guest
 
Default Re: Rear vew mirror - how to?

can a layer3d give you a reversed image?

don't you need a complete copy of the world with the geometry and all
the textures reversed and any movement routed between the two etc etc.
Reply With Quote
  #5  
Old 07-18-2008, 11:50 AM
julio@diegidio.name
Guest
 
Default Re: Rear vew mirror - how to?

On 18 Jul, 16:37, simon <simon.pl...@googlemail.com> wrote:
> can a layer3d give you a reversed image?
>
> don't you need a complete copy of the world with the geometry and all
> the textures reversed and any movement routed between the two etc etc.


Yes, although my bet is it should still be better than embedding a
vrml/x3d plugin twice within a page and coordinating the whole thing
through EAI...

Also, I have yet to see how this Layer3d node works, and maybe the
thing is even simpler? Say DEF/USE and a little bit of scripting...?

Am I getting your point?

-LV
Reply With Quote
  #6  
Old 07-18-2008, 12:33 PM
simon
Guest
 
Default Re: Rear vew mirror - how to?

>
> Am I getting your point?
>
> -LV


No, i don't think so, i mean that it wouldn't be a MIRROR image, ie
not reversed, as a "rear view mirror" should be.

BTW i went to see what a layer3d could do, in the X3D spec. and it
isn't there! is this just another non-standardised node.
Reply With Quote
  #7  
Old 07-18-2008, 01:04 PM
julio@diegidio.name
Guest
 
Default Re: Rear vew mirror - how to?

On 18 Jul, 17:33, simon <simon.pl...@googlemail.com> wrote:
> > Am I getting your point?

>
> No, i don't think so, i mean that it wouldn't be a MIRROR image, ie
> not reversed, as a "rear view mirror" should be.


Nobody has mentioned "mirror" nodes. Layer3d it is, and you are still
supposed to provide the geometry.

> BTW i went to see what a layer3d could do, in the X3D spec. and it
> isn't there! is this just another non-standardised node.


This should have been clear. Any complaints?

-LV
Reply With Quote
  #8  
Old 07-18-2008, 01:21 PM
simon
Guest
 
Default Re: Rear vew mirror - how to?


> Nobody has mentioned "mirror" nodes.


neither have i?

> Layer3d it is, and you are still
> supposed to provide the geometry.


you say you want a 'rear view mirror', a layer3d will produce a 'rear
view camera' unless you reproduce all the geometry and textures
reversed.

you do realise that with a mirror left and right are reversed, with a
camera they are not.

>> BTW i went to see what a layer3d could do, in the X3D spec. and it
>> isn't there! is this just another non-standardised node.

>
> This should have been clear. Any complaints?
>
> -LV


don't understand
Reply With Quote
  #9  
Old 07-18-2008, 01:33 PM
julio@diegidio.name
Guest
 
Default Re: Rear vew mirror - how to?

On 18 Jul, 18:21, simon <simon.pl...@googlemail.com> wrote:
> > Nobody has mentioned "mirror" nodes.

>
> neither have i?
>
> > Layer3d it is, and you are still
> > supposed to provide the geometry.

>
> you say you want a 'rear view mirror', a layer3d will produce a 'rear
> view camera' unless you reproduce all the geometry and textures
> reversed.
>
> you do realise that with a mirror left and right are reversed, with a
> camera they are not.


I do, and can you realize that "you are still supposed to provide the
geometry" is saying the same?

>
> >> BTW i went to see what a layer3d could do, in the X3D spec. and it
> >> isn't there! is this just another non-standardised node.

>
> > This should have been clear. Any complaints?

>
> don't understand


That means: what are you trying to say? But, I'd strongly suggest you
(re)read the thread at least once before elaborating further.

-LV
Reply With Quote
  #10  
Old 07-22-2008, 05:47 AM
Joerg Scheurich aka MUFTI
Guest
 
Default Re: Rear vew mirror - how to?

> Any idea how to go to implement a "rear view mirror"?

> I mean, something that simply looks and works like the usual rear vew
> mirror in the average cars game.


> Ideally, I am looking for a pure VRML97 solution that does not involve
> embedding the same world twice in my web page.


The immersive VRML97 browser cover/covise has such a node as unportable
Browser extension.

http://www.hlrs.de/organization/vis/covise/

You need to ask for permission to use it...

so long
MUFTI
--
Chatetiquette
.... Wenn für einen Moment Sie lassen müssen, Sie müssen "BRB" eingeben
(Sie sein rechte Rückseite)
Micro$oft Knowledge Base Artikel-ID: 178294 Version: 3.1
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:53 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.