Follow and Look At with RTRE

It is possible to use Follow Path and Look At constraints with RTRE, but there is a trick you need to use to make it work.

It is possible to use Follow Path and Look At constraints with RTRE, but there is a trick you need to use to make it work.

Follow Path and Look At

This animation uses Follow Path, and LookAt to have the red cone follow the path while looking at the central sphere. The path has been duplicated and then rendered as a mesh so that it is visible. Also a second cone was linked to the first cone so that its orientation can be seen as it follows the path.

The moving rods and pistons show another use of LookAt. The horizontal rods are animated to move back and forth. The balls and pistons [just nested cyllinders] are linked to follow the rods. The wide part of the piston is looking at the the ball, and the inner piston is looking at the outer piston. In max, both sets of pistons behave the same, but in RTRE, the red piston fails to behave correctly. Note that it is not possible to have two objects look at each other, so another object, the ball, is required to complete the circuit.

To fix the blue piston in RTRE, it is quite simple. One merely has to add some dummy keyframes to cause RTRE to pickup the animation of the objects as they are transformed by max. To do this, add a position keyframe to the first and last frame. The look at constraints are rotational constraints, so this does not conflict with a position key. But the position keys cause RTRE to pickup the entire transform for the object, including the rotation, so the look at constraint is correctly animated by RTRE.

Download the FollowPath Scene

Rotating Gears in RTRE

It is possible to do complex animated scenes in RTRE.

Rotating Gears

This animation uses a rotation script for the gears like this:

( eulerAngles 0 0 (360*currenttime/100) ) as quat

This can be customized by either changing the 360 to a larger number of degrees to speed up the animation, or by changing the 100 to match the number of frames in the animation. Balls are linked to the gears so that their rotation can be more easily followed. The gears were created by the Geodesic program available on this site.

Download Rotating Gears

Pool Stalk

An RTRE scene of a virtual backyard pool with animation and sound.

Poolstalk was meant to illustrate how to free your thinking in a virtual world. At the time I did this I was doing a beta test with an on-line virtual community – now long defunct – that allowed one to build buildings and objects in the virtual world, and visit them. Everyone seemed to be intent on building things that looked like the natural world. This is an example of how to free your mind in the virtual world.

Pool Stalk

The poolstalk scene combines animation with sound and camera capture.
There are two ways to get up to the pool. Walk through the spinning disk of the teleport module and you will be transported to the pool side. Or take the elevator. To use the elevator, navigate near the elevator and then click the green button. If the elevator is not waiting for you , click the red button to bring it down.

Download PoolStalk

Cubic Space Real Time Rendering Environment

CubicSpace RTRE
RTRE is a plug-in for max that provides real time rendering inside of max, and provides a way to publish an exe that can render the scene interactively.

CubicSpace RTRE
RTRE is a plug-in for max that provides real time rendering inside of max, and provides a way to publish an exe that can render the scene interactively.

Continue reading “Cubic Space Real Time Rendering Environment”

Watch4D OpenGL Program

This is a link to the Watch 4D program, which is different than the Watch 3D program. Watch 4D includes source.


Watch4D Program

RotTest3_w4d

This is the Watch 4D program, which is different than the Watch 3D program. Watch 4D includes source.

Watch4D Program

Watch4D is a program to investigate the importation of 3DS files supporting several issues that are problematic for almost all other 3DS importers.

  • Pivots that are translated or rotated.
  • Object instances.
  • Object Links.
  • Object Groups.

Watch4D is a modification of a program from elsewhere on this site called Watch3D. That program is unavailable for distribution in source form since it uses the CrossRoads library which is only available with a book.

Watch4D is based on open source code from CrystalSpace, and my own researches, so the source can be shared.

Watch4D Source

Enjoy,
-ww

Disk Space Usage Application

Scan a whole disk, or just a directory tree, and find out where the space is being used and by which files. Oddly enough, tthe Windows 95 / NT Explorer has no such feature. The most you can do is watch the status bar for each directory as you navigate.

usage

Scan a whole disk, or just a directory tree, and find out where the space is being used and by which files. Oddly enough, tthe Windows 95 / NT Explorer has no such feature, or WinXP for that matter. The most you can do is watch the status bar for each directory as you navigate.

Here’s a program that will let you manage your hard drive space and efficiently clean up your files.
Continue reading “Disk Space Usage Application”

PakZip

The PakZip program solves two problems…

  • Building ZIP files for game programs such as Quake that use ZIP as their archive format.
  • Building distribution archives when an installer is not appropriate.

mainwindow

The PakZip program solves two problems…

  • Building ZIP files for game programs such as Quake that use ZIP as their archive format.
  • Building distribution archives when an installer is not appropriate.

Continue reading “PakZip”

Synchronize Version 3

Synchronize files between two folders, computers or backup files to offline media.

Synchronize files between two folders, drives, computers or backup files to offline media including removable hard drives and CD/DVD RW.

Update: This program has been superseded by SynchQt which is available on SourceForge.

Features New for Synch 3

  • Supports CD/DVD RW drives, including verify.
  • Threads rather than idle-loop operation provides better performance.
  • Substitution allows easy redirection of drives and network paths.
  • Options to remove empty directories after files are deleted.
  • Options to provide handling of files with no extensions.
  • Sizes and positions of windows and column widths of lists are saved and restored.

Continue reading “Synchronize Version 3”

Geodesic program

The Geodesic program displays shapes of various styles and allows the objects to be examined in various colors and lighting styles. All the object types can be modified with various parameters.

The Geodesic program displays shapes of various styles and allows the objects to be examined in various colors and lighting styles. All the object types can be modified with various parameters.

The program can export the objects in OBJ [Wave] format for import into your favorite 3D rendering environment.

Download Geodesic.
Continue reading “Geodesic program”