FaceMn
@facemn
New Member
Joined: Feb 15, 2024
Topics: 2 / Replies: 15
Topic
19 years ago
Forum
Replies: 0
Views: 16
Reply
RE: sin movement

You need to also adjust the y or z position. Here is a basic sine wave example: wave_amplitude = 60 wave_width = 10 x_position = 0 for i = 1 to 360…

19 years ago
Forum
Reply
RE: PolyLine update problem.

Yep, the easiest solution here is to wrap your code into a function and then pass it like this: fn draw_safeframes = ( — gw code here ) — Register…

19 years ago
Forum
Reply
RE: loop in rollout?

You don’t have to use RolloutCreator, but I think it pretty much does the same thing as I’m about to example anyway. RolloutCreator just puts all of …

19 years ago
Forum
Reply
RE: Using ByReference in structs possible?

Ahh, I didn鈥檛 realize you were doing this with two seperate structs. I must have missed that. The Descent 4 discussion pops up from time to time her…

19 years ago
Forum
Reply
RE: Using ByReference in structs possible?

Just trying to get a grasp of the code you are trying to execute here. Would you say this example is relevant? struct test ( var = false, fn up…

19 years ago
Forum
Reply
RE: Using ByReference in structs possible?

Works out okay for me. Here is the quick example I made: fn myFunction &myVar = ( myVar = true ) struct test ( var = false, fn in…

19 years ago
Forum
Reply
RE: Create a subObject selection set??

You can create a new named selection set by doing this: selectionSets[“my set name”] = nodeArray; Whether that works in sub-object mode, no idea.

19 years ago
Forum
Reply
RE: attach all objects using same BITMAP at diffuse slot.

This wouldn’t be hard to do. You could just loop through all the INodes and get the diffuse map off each one. While your processing that, if the dif…

19 years ago
Forum
Reply
RE: Force file path, even on error?

Using try/catch for this situation is the only way I’ve been able to trap it. Doing something like, if blah == undefined won’t stop mxs from bailing….

19 years ago
Forum
Reply
RE: Finding diffuse material in dx9 shader?

There isn’t really a concept of a ‘diffuse channel’ in shaders. There are what’s called texture samplers. An easy way to find bitmaps in a DX9 shader …

19 years ago
Forum
Reply
RE: Testing if array1 != aray2?

Shorter version: fn compare a b &bool = ( if a.count != b.count do ( bool = false ) for i = 1 to a.count do ( — Test for nested…

19 years ago
Forum
Reply
RE: Possible? Open/Save As Dialog with predefined size

This is typically done by writing the size/position out to a .ini file and then read in when the dialog is opened. Look up get/setINISetting in the m…

20 years ago
Forum
Reply
RE: Game

Hmm, I don’t see any reason why it wouldn’t work in Max 5. You do need Larry Mintons avguard extension tho.

20 years ago
Forum
Topic
20 years ago
Forum
Replies: 2
Views: 11
Page 1 / 2