J
Jon Harrop
I'm trying to define a Show3D class that takes a scene graph and spawns a
visualization rendering that scene graph in a new thread but keeps it
editable via properties in the Show3D class. For example, I'd like to be
able to alter the camera in the spawned visualization via a property in the
Show3D class.
I believe the Show3D constructor needs to create a new thread, set it to
STA, start the thread, create a new form from that thread and then create a
new message loop in that thread (Application.Run(form)).
Can the form's properties be adjusted from another thread or must I
communicate everything via events?
Is it possible to derive Show3D from Form or must Show3D wrap Form?
Does C# provide any support for having constructors spawn threads
implicitly?
Are there any scene graph libraries already out there with idiomatic C#
APIs?
visualization rendering that scene graph in a new thread but keeps it
editable via properties in the Show3D class. For example, I'd like to be
able to alter the camera in the spawned visualization via a property in the
Show3D class.
I believe the Show3D constructor needs to create a new thread, set it to
STA, start the thread, create a new form from that thread and then create a
new message loop in that thread (Application.Run(form)).
Can the form's properties be adjusted from another thread or must I
communicate everything via events?
Is it possible to derive Show3D from Form or must Show3D wrap Form?
Does C# provide any support for having constructors spawn threads
implicitly?
Are there any scene graph libraries already out there with idiomatic C#
APIs?