WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-13-2008, 11:22 PM
Sandro Holzer Sandro Holzer is offline
Member
 
Join Date: Jul 2008
Posts: 19
Curved mirrors?

Hello Everybody

I am rather new to Virtual Reality, but I was able to make my first steps with Vizard, which I am now testing for our purposes.
One thing I could not manage until now, or find something in this forum about is the modeling of curved mirrors.

Can anyone give me a hint how to do it?

Thanks in Advance

Sandro
Reply With Quote
  #2  
Old 07-16-2008, 03:17 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Do you need the mirror to have dynamic real-time reflections or just a static reflection map? If you need a static reflection map, then have a look at the example script in examples\nodes\env_mapping.py. This applies a static texture to a curved model surface which gives it a reflective look.

If you need dynamic real-time reflections, then it will take a little more work. Let me know if this is the case and I might be able to provide a sample script for you.
Reply With Quote
  #3  
Old 07-17-2008, 04:24 AM
Sandro Holzer Sandro Holzer is offline
Member
 
Join Date: Jul 2008
Posts: 19
Thank you for your answer

Unfortunately I need dynamic real-time reflection.
We need this for checking the field of view through a rearviewmirror, and it should be physical correct.
One possible solution would be to divide the curved mirror in a matrix of smaller, plane mirrors (each mirror with the code I found in this forum for plane mirror objects).
But I think one would need a lot of small mirrors to get a realistic picture.

Sandro
Reply With Quote
  #4  
Old 08-09-2010, 04:41 AM
Andy Andy is offline
Member
 
Join Date: Mar 2008
Location: Germany
Posts: 36
Hi
I have the same problem. I would like to create a curved-projection-plan because I have a curved Screen.
I have test the idea of splitting the MainWindow in n-number of sub-windows (30-40 are enough). I calculate new lower-/upperLeft and lower-/upperRight edges and calculate the new frustum for each subwindow all based on the radius of my cylinder or rather my curved-screen.

It looks fine but if I use vizinfo the menu is shown in each subwindow also there is a problem with reflective surface because the effect is different in each subwindow.

Is a shader solution available or can somebody helps me to create a shader which split my mainWindow in n subWindows with different projectionplans so that I get an image that is based on a approximated curved projection plan (cylinder).

Thanks, Andy
Reply With Quote
  #5  
Old 08-10-2010, 06:57 AM
Darkmax Darkmax is offline
Member
 
Join Date: Feb 2010
Posts: 108
I'm interested too, in use dynamic real-time reflection on curves.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:58 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC