gopherCG
08-13-2003, 03:50 PM
Hey Bobo if you're reading this I want to thank you for your great tutorials. I'm starting to learn maxscript from these lessons.
Anyways I got stuck on Lesson 4 and 5. I reviewed and copied the code but couldn't find how to have vertex colors properly assigned to the mesh made from the "m" bitmap. Everytime the color is different and strange, like half pink and black, then a few lines of pink and black etc. And in lesson 5, the code sometimes runs, but the animation doesn't record for objects or mesh.
I'm very much a beginner, so any pointers will help. :)
A wild guess: maybe Max 4 doesn't work well with the code version.
Here's the Listener Output from the sample script Bobo provided
note-At first the status bar ran, then a popup said "no ">" defined", then the boxes were created with correct color but no anim. :
-- Error occurred in start_process()
-- Frame:
-- num_frames: undefined
-- mesh_cpv: #()
-- bmp_w: 320
-- vert_color: undefined
-- new_material: undefined
-- nodes_array: #($Box:5th_Lesson01 @ [100.000000,-100.000000,0.000000], $Box:5th_Lesson02 @ [500.000000,-100.000000,0.000000], $Box:5th_Lesson03 @ [900.000000,-100.000000,0.000000], $Box:5th_Lesson04 @ [1300.000000,-100.000000,0.000000], $Box:5th_Lesson05 @ [1700.000000,-100.000000,0.000000], $Box:5th_Lesson06 @ [2100.000000,-100.000000,0.000000], $Box:5th_Lesson07 @ [2500.000000,-100.000000,0.000000], $Box:5th_Lesson08 @ [2900.000000,-100.000000,0.000000], $Box:5th_Lesson09 @ [3300.000000,-100.000000,0.000000], $Box:5th_Lesson10 @ [3700.000000,-100.000000,0.000000], $Box:5th_Lesson11 @ [4100.000000,-100.000000,0.000000], $Box:5th_Lesson12 @ [4500.000000,-100.000000,0.000000], $Box:5th_Lesson13 @ [4900.000000,-100.000000,0.000000], $Box:5th_Lesson14 @ [5300.000000,-100.000000,0.000000], $Box:5th_Lesson15 @ [5700.000000,-100.000000,0.000000], $Box:5th_Lesson16 @ [6100.000000,-100.000000,0.000000], $Box:5th_Lesson17 @ [6500.000000,-100.000000,0.000000], $Box:5th_Lesson18 @ [6900.000000,-100.000000,0.000000], $Box:5th_Lesson19 @ [7300.000000,-100.000000,0.000000], $Box:5th_Lesson20 @ [7700.000000,-100.000000,0.000000], ...)
-- mesh_verts: #()
-- normal_mod: undefined
-- work_bmp: BitMap:C:\MXSTUT\MultitargetIK.avi
-- bmp_h: 240
-- new_object: undefined
Anyways I got stuck on Lesson 4 and 5. I reviewed and copied the code but couldn't find how to have vertex colors properly assigned to the mesh made from the "m" bitmap. Everytime the color is different and strange, like half pink and black, then a few lines of pink and black etc. And in lesson 5, the code sometimes runs, but the animation doesn't record for objects or mesh.
I'm very much a beginner, so any pointers will help. :)
A wild guess: maybe Max 4 doesn't work well with the code version.
Here's the Listener Output from the sample script Bobo provided
note-At first the status bar ran, then a popup said "no ">" defined", then the boxes were created with correct color but no anim. :
-- Error occurred in start_process()
-- Frame:
-- num_frames: undefined
-- mesh_cpv: #()
-- bmp_w: 320
-- vert_color: undefined
-- new_material: undefined
-- nodes_array: #($Box:5th_Lesson01 @ [100.000000,-100.000000,0.000000], $Box:5th_Lesson02 @ [500.000000,-100.000000,0.000000], $Box:5th_Lesson03 @ [900.000000,-100.000000,0.000000], $Box:5th_Lesson04 @ [1300.000000,-100.000000,0.000000], $Box:5th_Lesson05 @ [1700.000000,-100.000000,0.000000], $Box:5th_Lesson06 @ [2100.000000,-100.000000,0.000000], $Box:5th_Lesson07 @ [2500.000000,-100.000000,0.000000], $Box:5th_Lesson08 @ [2900.000000,-100.000000,0.000000], $Box:5th_Lesson09 @ [3300.000000,-100.000000,0.000000], $Box:5th_Lesson10 @ [3700.000000,-100.000000,0.000000], $Box:5th_Lesson11 @ [4100.000000,-100.000000,0.000000], $Box:5th_Lesson12 @ [4500.000000,-100.000000,0.000000], $Box:5th_Lesson13 @ [4900.000000,-100.000000,0.000000], $Box:5th_Lesson14 @ [5300.000000,-100.000000,0.000000], $Box:5th_Lesson15 @ [5700.000000,-100.000000,0.000000], $Box:5th_Lesson16 @ [6100.000000,-100.000000,0.000000], $Box:5th_Lesson17 @ [6500.000000,-100.000000,0.000000], $Box:5th_Lesson18 @ [6900.000000,-100.000000,0.000000], $Box:5th_Lesson19 @ [7300.000000,-100.000000,0.000000], $Box:5th_Lesson20 @ [7700.000000,-100.000000,0.000000], ...)
-- mesh_verts: #()
-- normal_mod: undefined
-- work_bmp: BitMap:C:\MXSTUT\MultitargetIK.avi
-- bmp_h: 240
-- new_object: undefined
