To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 1180
1179  |  1181
Subject: 
Re: 3D Myst III viewer of a castle
Newsgroups: 
lugnet.cad.mlcad, lugnet.cad
Date: 
Sat, 19 Jan 2002 03:19:19 GMT
Viewed: 
3228 times
  
In lugnet.cad.mlcad, Tim Courtney writes:
"Chuck Sommerville" <chucks@he.net> wrote in message
news:Gq4Au0.D7u@lugnet.com...
I built this proof of concept castle section using a java applet for • viewing
spherical renderings.  It is kind of like the Myst III viewer.

http://www.he.net/~chucks/castle/room1.htm

This is a fun way to view models from the inside.

Hey Chuck -
This is so cool!!  I haven't played with spherical renderings yet (acually,
to be totally honest, I didn't know they existed until you posted this).

I take it since each room is an image, you can't walk through it like a VRML
model, right?

Also, I crossposted this to .cad as well.  Its not just an MLCAD thing, its
an LDraw thing. :-)

-Tim

Actually, its a Java applet thing.  On my web page, the applet, and all the
images are in the same directory as the html file. If you are interested in
this type of thing, be sure to check out the web page where I got the applet.
http://www.fh-furtwangen.de/~dersch/
It is capable of a lot more than I did with it.  My html file is a good
example of how to script together some rooms, but with some good Java
programming and scripting, you could do an entire adventure with sounds and
animation.

Here is the POV camera I used:

camera {
  spherical
  location <0,0,0>      // position
  look_at  <1,0,0>      // view
  h_angle 360           // horizontal degrees
  v_angle 180           // vertical degrees
  rotate <180, 0, 0>
  translate <0,-95,0>
}

Just delete the L3P generated camera and insert the spherical one.
The Rotate <180,0,0> was added because it was rendering upside down.
Unfortunately, this also mirror flips the image from the model, but who can
tell.  There is probably an easy POV fix for right/left handedness.
The translate <-320,-239,0> command was how I positioned the camera.  This
was different for each location.
I rendered with the command line options -l to use my model lights (light.dat)
and -h600 -w1200 for the size image I wanted.  It also looks better rendered
aliased, but I was in a hurry, and just wanted to prove my point.

The web page for the viewer has very good documentation for how to use the
viewer.  By the way, you can also use +/- to zoom in and out.

The other thing to do is to render it so that a hot spot doesn't cross the
seam at the edges.

If I had anything to ask of L3P to help this, it would be a command line
option to suppress the camera.

By the way, the camera in room 3 on the stairs is intentionally tilted, just
to see how that would come out.

-Chuck



Message has 4 Replies:
  Re: 3D Myst III viewer of a castle
 
(...) Chuck, Totally cool, I've been wondering if this was possible from POV-RAY. Thanks for posting this. I'm actually getting an error when I use this camera code though, is there something that's missing?: camera { spherical <----ERROR (...) (23 years ago, 19-Jan-02, to lugnet.cad.mlcad, lugnet.cad)
  Re: 3D Myst III viewer of a castle
 
Hey, QuickTime will do the exact same thing. QuickTime isn't just a movie player, it is a media wrapper. And virtual reality images is just another media supported. It will do full cubic panos like the castle, hot spots like the castle (I think it (...) (23 years ago, 20-Jan-02, to lugnet.cad.mlcad, lugnet.cad)
  Re: 3D Myst III viewer of a castle
 
(...) I found the same applet over the holidays and coudn't wait to try it! (...) Did you have to manipulate the image at all to get the projection correct? I used the panoramic camera for my images. It would only take 180 degrees, so I rendered two (...) (23 years ago, 20-Jan-02, to lugnet.cad.mlcad, lugnet.cad)
  Re: 3D Myst III viewer of a castle
 
Chuck Sommerville wrote... (...) Wow, this is cool. Would you like just an option to suppress the camera, or some options to support spherical, h_angle, v_angle ? (are h_angle always 360 and v_angle 180?) Can you avoid the translate by using (...) (23 years ago, 25-Jan-02, to lugnet.cad.mlcad, lugnet.cad)

Message is in Reply To:
  Re: 3D Myst III viewer of a castle
 
"Chuck Sommerville" <chucks@he.net> wrote in message news:Gq4Au0.D7u@lugnet.com... (...) viewing (...) Hey Chuck - This is so cool!! I haven't played with spherical renderings yet (acually, to be totally honest, I didn't know they existed until you (...) (23 years ago, 19-Jan-02, to lugnet.cad.mlcad, lugnet.cad)

29 Messages in This Thread:












Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR