DetachNodeObject(#node, MeshID(0)) works! Thank you!
Nonetheless, this does not appear to be necessary with other meshes when running on OSX.
Search found 16 matches
- Mon May 12, 2014 8:36 pm
- Forum: 3D Programming
- Topic: FreeMesh and 3d Lines
- Replies: 3
- Views: 2236
- Sun May 11, 2014 6:22 pm
- Forum: 3D Programming
- Topic: cloth in Ogre 3d
- Replies: 8
- Views: 4216
Re: cloth in Ogre 3d
I'm afraid it doesn't work on OSX.
- Sun May 11, 2014 6:04 pm
- Forum: 3D Programming
- Topic: FreeMesh and 3d Lines
- Replies: 3
- Views: 2236
FreeMesh and 3d Lines
On the OSX version of PureBasic, I have problems releasing 3d lines (CreateLine3D) with the FreeMesh function after having included them in a node. Freeing 3d line mesh causes the program to crash. This only occurs, AFAIK, with 3d lines. I've mentioned this in the OSX Bugs forum, but haven't ...
- Mon May 05, 2014 7:14 am
- Forum: Coding Questions
- Topic: Defining dynamic arrays in a Structure?
- Replies: 11
- Views: 3273
Re: Defining dynamic arrays in a Structure?
These are subjective qualities and cannot be exactly determined. For me, elegance is how readable complex code can be 6 months or years later.
My advice is to think how you want to process the data you import and then design your structures accordingly.
Very true.
Are these scalar quantities ...
My advice is to think how you want to process the data you import and then design your structures accordingly.
Very true.
Are these scalar quantities ...
- Mon May 05, 2014 7:10 am
- Forum: Coding Questions
- Topic: Defining dynamic arrays in a Structure?
- Replies: 11
- Views: 3273
Re: Defining dynamic arrays in a Structure?
I don't think this would be so simple with a list or map.
Well, you would have elegant code using ForEach with a List, but for sure the task seems complex.
Clumsy strike me as more fitting, in this case, than iterating the two indexes of a two dimensional array. I'll probablly use a single ...
Well, you would have elegant code using ForEach with a List, but for sure the task seems complex.
Clumsy strike me as more fitting, in this case, than iterating the two indexes of a two dimensional array. I'll probablly use a single ...
- Mon May 05, 2014 12:02 am
- Forum: Coding Questions
- Topic: Defining dynamic arrays in a Structure?
- Replies: 11
- Views: 3273
Re: Defining dynamic arrays in a Structure?
I know, but is it elegant & graceful?IdeasVacuum wrote:You might be able to use separate arrays e.g. Dim aRaditionPointX(iTotal), Dim aRaditionPointY(iTotal)

- Mon May 05, 2014 12:01 am
- Forum: Coding Questions
- Topic: Defining dynamic arrays in a Structure?
- Replies: 11
- Views: 3273
Re: Defining dynamic arrays in a Structure?
Why not turn that around and use a Linked List of a structure? Each new List element would consist of a structure - Have a single structure containing all variables for each data element you are reading from the file. Where is the Radiation Point data in the file? Can't see it in your sample? Just ...
- Sun May 04, 2014 11:37 pm
- Forum: Coding Questions
- Topic: Defining dynamic arrays in a Structure?
- Replies: 11
- Views: 3273
Re: Defining dynamic arrays in a Structure?
redim does not work because I need to change the size both dimensions...
Time to rethink...
Time to rethink...

- Sun May 04, 2014 11:29 pm
- Forum: Coding Questions
- Topic: Defining dynamic arrays in a Structure?
- Replies: 11
- Views: 3273
Re: Defining dynamic arrays in a Structure?
Thanks. I'll try doing this...
I was hoping I could assign an array to an instance of the structure, instead of rediming the array in the structure instance and then assigning the values "directly" in the structure.
I was hoping I could assign an array to an instance of the structure, instead of rediming the array in the structure instance and then assigning the values "directly" in the structure.
- Sun May 04, 2014 11:07 pm
- Forum: Coding Questions
- Topic: Defining dynamic arrays in a Structure?
- Replies: 11
- Views: 3273
Defining dynamic arrays in a Structure?
How can one define (and use) an array element of unknown size in a structure ?
I may be a bit dense but I can't figure out how to do something like this in PureBasic gracefully:
Structure Gain
vert.d
hori.d
total.d
EndStructure
Structure Polarization
axialratio.d
tilt.d
sense.s ...
I may be a bit dense but I can't figure out how to do something like this in PureBasic gracefully:
Structure Gain
vert.d
hori.d
total.d
EndStructure
Structure Polarization
axialratio.d
tilt.d
sense.s ...
- Thu Mar 18, 2004 4:13 pm
- Forum: Feature Requests and Wishlists
- Topic: Gadgets, Focus, Tab Order etc.
- Replies: 9
- Views: 2440
- Thu Mar 18, 2004 3:53 pm
- Forum: Feature Requests and Wishlists
- Topic: Gadgets, Focus, Tab Order etc.
- Replies: 9
- Views: 2440
- Thu Mar 18, 2004 9:06 am
- Forum: Feature Requests and Wishlists
- Topic: Gadgets, Focus, Tab Order etc.
- Replies: 9
- Views: 2440
Agreed, it'd be nice for all gadgets to have focus events accessible easily. String gadgets do from straight PB, others it's a fairly easy windows callback. Let me know if you want the code (it's all over the forum I'm sure)
For Windows this may be true (yes, I'ld like to have the code), but what ...
For Windows this may be true (yes, I'ld like to have the code), but what ...
- Wed Mar 17, 2004 12:00 pm
- Forum: Feature Requests and Wishlists
- Topic: Gadgets, Focus, Tab Order etc.
- Replies: 9
- Views: 2440
- Wed Mar 17, 2004 11:27 am
- Forum: Feature Requests and Wishlists
- Topic: Gadgets, Focus, Tab Order etc.
- Replies: 9
- Views: 2440