Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
osg newbie question: billboard with multiple drawables?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
paul graham  
View profile  
 More options Sep 28 2010, 6:03 am
From: "paul graham" <pd...@hotmail.com>
Date: Tue, 28 Sep 2010 12:03:09 +0200
Local: Tues, Sep 28 2010 6:03 am
Subject: [osg-users] osg newbie question: billboard with multiple drawables?
Hi, I'm hoping someone can help. I'm trying to develop an in-scene 'label' for my 3D objects (consisting of text and geometry). I was hoping I'd be able to use the osg billboard and add my geometry and text to it as drawables, but I now realise that each drawable will have its own pivot point, so my text and geometry will become misaligned.

Is there a way to massage the billboard such that it 'groups' all its children and effectively applies a single transformation about a single pivot point (hence keeping the text and geometry in the same plane)? Or can anyone suggest a simpler / better approach to the problem?

Just to reiterate - I'm trying to create screen-facing labels to insert into my 3D scene - the label needs to support text and geometry. Any advice on how to best approach this is much appreciated - I'm hoping someone has tackled a similar problem in the past.

Many thanks

Paul

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32125#32125

_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Osfield  
View profile  
 More options Sep 28 2010, 8:53 am
From: Robert Osfield <robert.osfi...@gmail.com>
Date: Tue, 28 Sep 2010 13:53:00 +0100
Subject: Re: [osg-users] osg newbie question: billboard with multiple drawables?
Hi Paul,

The easiest way to do it is use an osg::AutoTransform, this is like a
Billboard but can rotate to screen a whole subgraph rather than just
drawables.  Billboard is lightweight for things like trees, but
AutoTransform is more flexible.

Robert.

_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
paul graham  
View profile  
 More options Sep 28 2010, 10:13 am
From: "paul graham" <pd...@hotmail.com>
Date: Tue, 28 Sep 2010 16:13:28 +0200
Local: Tues, Sep 28 2010 10:13 am
Subject: Re: [osg-users] osg newbie question: billboard with multiple drawables?
Hi Robert, many thanks for the prompt reply - I've been playing around with the autotransform and you're right - it is much more suited to our needs than the billboard.

Thanks again

Paul

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32133#32133

_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
paul graham  
View profile  
 More options Sep 28 2010, 11:10 am
From: "paul graham" <pd...@hotmail.com>
Date: Tue, 28 Sep 2010 17:10:29 +0200
Local: Tues, Sep 28 2010 11:10 am
Subject: Re: [osg-users] osg newbie question: billboard with multiple drawables?
Hi, on the subject of the autotransform: in scale_to_screen mode, I was trying to use minScale and maxScale to effectively bound the drawn screen size of my geode between a minimum and maximum, but I think I'm mis-interpreting these parameters.

Increasing maxScale does not appear to increase the maximum drawn size of my geode, and setting minScale doesn't seem to permit me to define a minimum drawn size? I've had a look at the AutoTransform code and I can see that the application of these scale settings are affected by the transition width, but it's not clear to me how they are connected?

If anyone can clarify for me, the relationship between transition width, minScale and maxScale and whether or not these could be used to define a minimum and maximum drawn size of a geode, I'd really appreciate it.

Many thanks in advance.

Paul

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32137#32137

_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »