キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

3D Graph Render Window Programmatically

Hello!

does anybody know how to open the "Render window" of a 3D graph programmatically?

 

Thanks

 

 

I ask my question for the second time because nobody replied the first time, maybe it was not clear.

0 件の賞賛
メッセージ1/12
7,472件の閲覧回数

Try adding some more words or a screen shot. I know the CW 3d praph but I don't know what you are asking.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 件の賞賛
メッセージ2/12
7,466件の閲覧回数

Right click on the 3D Graph picture indicator in run-time, There are two menu elements, "3D graph properties" and "Render window". It opens a more efficient graph, I would like to open it programmatically, how?

 

Thanks a lot 

0 件の賞賛
メッセージ3/12
7,455件の閲覧回数

JICHFI wrote:

Right click on the 3D Graph picture indicator in run-time, There are two menu elements, "3D graph properties" and "Render window". It opens a more efficient graph, I would like to open it programmatically, how?

 

Thanks a lot 


Sorry, I don't know about the new 3d picture version. I'll watch for someone that knows the new one.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 件の賞賛
メッセージ4/12
7,452件の閲覧回数
Check out the solarsystem.vi example in the picture/3D Picture Control folder. 
0 件の賞賛
メッセージ5/12
7,446件の閲覧回数

Thanks Darin,

it's what I'm looking for but I'm not using the same picture control so the idea is quite different. Attached some screenshots to show what I'm using exactly. If you have any idea how to open that Render Window programmatically, that would be really nice.

 

Regards,

Jimmy

すべてをダウンロード
0 件の賞賛
メッセージ6/12
7,435件の閲覧回数

I don't think there is a good way to get a reference to the render window on the 3d graph currently or programatically open it, but I can think of a  workaround.

 

Create your own window. 

 

Get the reference to the 3d picture control inside the 3d graph.  You can do that by using a property node 3d Graph>>Graph>>3D Picture Control Reference.  Then, read the Value property from that reference and connect it to your own render window.

 

Note:  you will have to tweak it some.  That is, you will have to set the camera position, the background color etc to make this work nicely.  I have had some limited success with a quick experiment that I did trying this.

 

I would also make a suggestion R&D regarding this issue -- I can have a chat with the developer that owns this control, but it is better for tracking purposes if you make a suggestion of your own.

 

Here is a link to the suggestion center

http://digital.ni.com/applications/psc.nsf/default?OpenForm

 

Jeff Peters

LabVIEW R & D. 

 

Message Edited by jpeters on 07-28-2009 12:20 AM
0 件の賞賛
メッセージ7/12
7,403件の閲覧回数

Hello Jeff,

thanks for your interesting idea, but for the actual question the point is the efficiency of that Render window rather to have it in a seperate window. But its not a big problem I can ask user to right click on the panel to get the more efficient one, that's all 🙂

 

If anybody could tell me how to emulate a "run-time shortcut menu" event for a specified control, it would help me.

0 件の賞賛
メッセージ8/12
7,394件の閲覧回数

Has there been any updates? I'd really like for the user to have a render window while the program runs. Right now the only way they can do that is when the program isn't running, which is stupid.

 

jpeters' suggestion no longer is valid - there is no such property. 

 

Perhaps using SceneObject / SceneWindow? But how do I get a reference to the 3d graph? I'd settle for just the right-click option "Render Window", which is absent when the program runs. Furthermore, I can't even put it back into the menu.

0 件の賞賛
メッセージ9/12
6,912件の閲覧回数

Ok, In case anyone has been struggling with this in the future, here's how I managed to do it. Now I have fast hardware rendering of my plot, on the front panel!

 

edit: The Get Picture Control Ref is just an invoke node. Right click on the 3d plot, go to invoke node, and its there. 

 

The scenedisplay object I'm not sure where on the right-click menu you can find it, but it's in the Solarsystem example VI. I just copied it from there.

すべてをダウンロード
メッセージ10/12
6,901件の閲覧回数