realbasic-nug
[Top] [All Lists]

Re: RB3DSpace as a variable

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: RB3DSpace as a variable
From: William Shank <trochoid at gmail dot com>
Date: Wed, 30 Nov 2005 22:37:57 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ptCgHSZAsu55/TRpSVhV3gzwFK3g4RBCj2QXqFikCvrCDulBIBpAC3S3uPOCwn9HHXn/w24QEAMSy/hO0/hrrXwXQ7hoZtHf1LYD1RES8HQnO1uM2HCDusXKuFwg5hjC3zGMavl0lXzeigCkt4yPmtEuISrZEE+JTHxMx5CKrb8=
References: <380-22005124105418958 at M2W055 dot mail2web dot com>
On 11/30/05, bryan at radicalbreeze dot com <bryan at radicalbreeze dot com> 
wrote:
> Is this possible currently?  (On the Windows side it crashes without
> breaking into the debugger.)

Because it's a control you can't instantiate it like that. What you
could try is to make a window with an RB3DSpace and instantiate the
window (windows not visible of course).
You may be able to then just grab the RB3DSpace and forget about the
window, but I don't know, it might be useful or necessary to hold onto
the window for some reason.

Some time ago I wanted to do offscreen rendering, but my idea then was
to put the 3DSpace in my main window and just move it out of view. It
worked with a caveat... the Space needed to be "close" to the bounds
of the window. If, say, the windows width was 500 and I but the Spaces
Left at 1000 to move it out of view it wouldn't work. I don't remember
if it crashed or Space.GetPicture was blank. But if Space.Left were
502 it happily worked. This is on a mac btw. Sometimes you got to
fiddle around.
-William
_______________________________________________
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>

<Prev in Thread] Current Thread [Next in Thread>