Rendering a 3D Scene and Exporting to VRML

using Strata StudioPro 2.5 under Mac OS 8.5.1

| ACG Home | Instructor Home | Class Home | list of tutorials |

Project Goals

To complete the 3D portion of our web page we will return to Strata StudioPro to:
  1. Set up the program to resume work on your model.
  2. Export the model as a VRML file.
  3. Choose the rendering attributes for the scene.
  4. Render a thumbnail image of the model, to be used for a hyperlink to the actual 3d scene.
  5. Edit the homepage HTML file to add a link to the VRML file, using SimpleText.


Initial setup

  1. Re-open your 3D logo using Strata StudioPro.
  2. As you work, switch to an appropriate view
  3. Render the scene whenever you need to check effects not displayed in the modeling window.

| return to top |

Export the 3D Scene as a VRML File

  1. Use File-->Save As to display the Save dialog
  2. Choose 'VRML 1.0' from the 'File Format' pop-up menu at the bottom of the dialog.
  3. Enter the filename (all lowercase) according to these rules:
  4. Click 'Save'
  5. Strata StudioPro won't be able to open the VRML file if you need to make changes to the scene. Make sure to also use the File-->Save command to update the StudioPro version of your document, and keep it on your disks.

| return to top |

Apply textures

Create and apply a new solid-color texture

  1. Use the selection tool to select the object you want to texture.
  2. If the Resource palette is not visible, display it using the Windows menu.
  3. In the Resources palette, click on the 'Textures' tab. Choose 'Simple Color' from the pop-up menu 'New'.
    'new simple color' command
  4. The 'Simple Color' dialog appears
    simple color dialog
  5. Click 'OK' to exit the dialog and apply the new texture to the selected object.

Create and apply a new glossy texture

  1. Use the selection tool to select the object you want to texture.
  2. Choose 'Surface Texture' from the pop-up menu 'New' in the Resources palette.
  3. The 'Surface Texture' dialog appears
    surface texture dialog
  4. Click 'OK' to exit the dialog and apply the new texture to the selected object.

Apply an existing texture to an object in the scene

  1. Make sure the object to be textured is selected.
  2. If necessary, click the Library button to expand the Resource palette.
    click Library button to expand Resource palette
  3. Find a texture you like:
  4. Click on the texture preview to select it, then click the apply button:
    applying a texture

| return to top |

Adjust lighting

  1. Change the orientation and settings of the default light
  2. Create and adjust a new light
  3. Again use the camera at the bottom of the toolbox for a test rendering, to better see the effect of your lighting adjustments.

| return to top |

Choose other environment effects

| return to top |

Render a Still Image

This picture will be used as a thumbnail for the link from your web page to your VRML file

  1. Change your viewpoint to show the scene at its best
  2. Do a draft-quality test rendering. Close the rendering window (without saving) and make further adjustments if necessary.
  3. Render and save the final image as a JPEG file

| return to top |

Edit the HTML File for Your Web Page

  1. Make sure the VRML file exported by Strata StudioPro (called 'yourname.wrl) is in the exact same folder as your other files for the web.
  2. Drag the icon of your homepage file (called 'yourname.html') and drop it on SimpleText
  3. Click to place the insertion point where you would like to see the thumbnail linking to your VRML logo scene.
  4. Enter the tag to display the thumbnail:
  5. Before the IMG tag, enter the start tag for the link to your VRML file:
  6. After the IMG tag, enter the end tag for the link:
  7. Following all of the above instructions, Sam Sample's HTML file would contain this line:

Before leaving, make sure you transfer your new 3d file and the edited HTML file to the file server for posting to the web server.

| return to top |


Notes

VRML (Virtual Reality Modeling Language)

A standard way to describe the contents of a 3D scene. It is used in several web sites to give greater immediacy to the viewers' experience. It's advantages include:

The main disadvantage of VRML is that it requires viewers to have access to fairly powerful computers to properly experience the 3D environment. VRML has also been hampered by spotty support in browser software, and a tortuos and conflicted standardization process.

return


Additional Info:


Copyright 1996-99 by Sandro Corsi. Last modified 27 April 1999.