Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

drawing to a object3d shape after its been created (Real Studio games Mailinglist archive)

Back to the thread list
Previous thread: Tactical RPG Update...
Next thread: Object3D Shape Count?


Re: explosions   -   Jeff Quan
  drawing to a object3d shape after its been created   -   Andrew Bush
   Re: drawing to a object3d shape after its been created   -   Joseph J. Strout
    Re: drawing to a object3d shape after its been created   -   Andrew Bush
     Re: drawing to a object3d shape after its been created   -   Ben Lilburne
     Re: drawing to a object3d shape after its been created   -   Joseph J. Strout
      Re: drawing to a object3d shape after its been created   -   Andrew Bush

drawing to a object3d shape after its been created
Date: 14.01.04 01:42 (Wed, 14 Jan 2004 13:42:06 +1300)
From: Andrew Bush
Hi all,

is this possible? I have a standard 3dmf model I am using, its basically
a flattish card.

What I would like to do (because it sounds kind of funky to me and I dont
seem to be able to get any real work done today) is use a 3dspace to
display search results in a clients database application. This obviously
requires that I be able to draw some specific data from each client record
into the front of each shape in the 3dspace.

Ive been playing around with swapping shapes in and out etc and using
AddShapeFromPicture which all works, the only problem is that I cannot
combine the loading of the basic 3dmf shape and the drawing of the data
together...at the moment Im using a solution which swaps out the standard
3dmf shape as I mouseover an object and displays the client data....thats
obviously not good enough as it requires the mouseover before the data can
be read...

any suggestions?

Yours cheerfully,

Andrew Bush

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: drawing to a object3d shape after its been created
Date: 14.01.04 05:10 (Tue, 13 Jan 2004 22:10:30 -0600)
From: Joseph J. Strout
At 1:42 PM +1300 1/14/04, Andrew Bush wrote:

>is this possible?

Yes, possible, just difficult.

Somewhere I have a project which shows how to transfer a texture from
one object to another, using declares. Unfortunately it's not in a
state fit for public consumption.

Can you just arrange your shapes so that there's a place for the data
to go as a separate object (made with AddShapeFromPicture), which
fits neatly into the 3D shape so nobody's the wiser?

HTH,
- Joe

Re: drawing to a object3d shape after its been created
Date: 14.01.04 05:37 (Wed, 14 Jan 2004 17:37:23 +1300)
From: Andrew Bush
Hi Joe,

thanks for your response.
>
> Yes, possible, just difficult.
>
> Somewhere I have a project which shows how to transfer a texture from one
> object to another, using declares. Unfortunately it's not in a state fit
> for public consumption.
>
> Can you just arrange your shapes so that there's a place for the data to
> go as a separate object (made with AddShapeFromPicture), which fits
> neatly into the 3D shape so nobody's the wiser?

yesish, I suspect I could.

athere is another problem thats bugging me,
I am a little dismayed at the quality of the text once it had been drawn
into a picture and added with AddShapeFromPicture, Im not setting it to
any specific font or size at this point but its got a kind of harsh look
to it, do you know of any reason for that?

Yours cheerfully,

Andrew Bush

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: drawing to a object3d shape after its been created
Date: 14.01.04 07:37 (Wed, 14 Jan 2004 17:37:14 +1100)
From: Ben Lilburne
There's a chance it's happening when the text is being written into the
picture. For some reason, the graphics object in a picture has
UseOldRenderer set to True by default, which means you get the old OS 9
style text instead of nice Quartz text. Set it to False and see if it
gets better.

Just guessing. :)

Cheers,
Ben

On 14/01/2004, at 3:37 PM, Andrew Bush wrote:

> I am a little dismayed at the quality of the text once it had been
> drawn into a picture and added with AddShapeFromPicture, Im not
> setting it to any specific font or size at this point but its got a
> kind of harsh look to it, do you know of any reason for that?

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: drawing to a object3d shape after its been created
Date: 14.01.04 15:44 (Wed, 14 Jan 2004 08:44:24 -0600)
From: Joseph J. Strout
At 5:37 PM +1300 1/14/04, Andrew Bush wrote:

>I am a little dismayed at the quality of the text once it had been
>drawn into a picture and added with AddShapeFromPicture, Im not
>setting it to any specific font or size at this point but its got a
>kind of harsh look to it, do you know of any reason for that?

Well, the default font size is 12 or 13 (depending on your system),
which means not too many pixels -- each pixel (er, texel) is probably
becoming a rough block of pixels when rendered on screen. Try using
a larger picture and font size; that'll smooth it out.

Cheers,
- Joe

Re: drawing to a object3d shape after its been created
Date: 14.01.04 23:54 (Thu, 15 Jan 2004 11:54:17 +1300)
From: Andrew Bush
Hi,

the UserOldRenderer didn't seem to make much difference (good idea though!
), as you suggested joe making the text size larger improved things
(definitely made it more readable) but the text still aint pretty ;)
<g> seems pretty likely that the 3dshape wasn't actually designed to
display text, the better solution if I had the inclination would prolly be
to create 3d letters.

was a bit of fun though, I was impressed at how easy the 3d stuff was to
use once I got into it.
<g> if I was just a little more graphically inclined Id be seriously
looking at some game design....

hmm..I wonder how difficult it would be to create a 3d landscape in
meshworks for a war game of some kind.....

Yours cheerfully,

Andrew Bush

>> I am a little dismayed at the quality of the text once it had been drawn
>> into a picture and added with AddShapeFromPicture, Im not setting it to
>> any specific font or size at this point but its got a kind of harsh look
>> to it, do you know of any reason for that?
>
> Well, the default font size is 12 or 13 (depending on your system), which
> means not too many pixels -- each pixel (er, texel) is probably becoming
> a rough block of pixels when rendered on screen. Try using a larger
> picture and font size; that'll smooth it out.
>
> Cheers,
> - Joe
>
> -- ,------------------------------------------------------------------.
> | Joseph J. Strout REAL Software, Inc. |
> | <email address removed> http://www.realsoftware.com |
> `------------------------------------------------------------------'
>
> - - -
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>