Use this instead in your RB3DSpace Open() event. It will get you *in the
ballpark*. The camera orientation figures seem to be a bit messed up.
If Me.Objects = Nil then
MsgBox "You need to install QD3D or Quesa!"
Return
End if
Dim v as Vector3D
v= New Vector3D
v.X=0
v.Y=0
v.Z=-40
//shift the light source for a better look
Me.FloodDirection.Z = - Me.FloodDirection.Z
Me.Camera.Position=v
Me.Camera.Orientation.w = 1
Me.Camera.Orientation.Y = 0
* Joe, the trimesh explorer is missing.
http://www.realsoftware.com/feedback/viewreport.php?reportid=neqthvro
* This simple example has been messed up for quite sometime. It's silly to
have our LR refer to such a *simple* example that does no work as listed.
And it turns people off trying to learn and use 3D and Rb.
The orientation of the camera at initialization seems wrong.
* From this code in the same example,
Dim mat as New Material
mat.Texture=blue // a picture added to the Project
The texture property of mat listed as nil in the debugger. Even if you drag
a picture named blue or create a picture with NewPicture.
http://www.realsoftware.com/feedback/viewreport.php?reportid=yptcpzyv
* The colors of the triangle created are very very dark no matter what I
seem to set them at.
I have not touched Rb3D much lately, but it sure seems on a casual look here
that lots of things are not quite right.
Scott, I suggest you take the time and write up your own little example
window where buttons, keyboard arrows, editfields, etc. control some of the
properties of the camera and other 3D properties to get the feel of things.
Using the above should at least give you a simple starting point.
--
Thomas C.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>