Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : (MM-DM-UBW32) The 3D Mite !
Page 2 of 2 | |||||
Author | Message | ||||
VK6MRG Guru Joined: 08/06/2011 Location: AustraliaPosts: 347 |
I've just loaded the cube and ball files onto my Maximite. WOW, I love the cube! Top job. Its easier to ask forgiveness than to seek permission! ............VK6MRG.............VK3MGR............ |
||||
Keith @ Senior Member Joined: 19/06/2011 Location: AustraliaPosts: 167 |
Hi Guys tried to run cube & ball programs and got the same error ... DO without matching LOOP ... at line 20420 did a LIST and found the P in LOOP was missing on the last line 21080 Put a nil remark line after the LOOP ie 21090 ' All ok now .... good show ... ball is a bit slow ... cube has a couple of lines missing from time to time ... I'm impressed Keith The more we know, the more we know we don't know ! |
||||
darthmite Senior Member Joined: 20/11/2011 Location: FrancePosts: 240 |
Hi [BKeith] , All lines are defined it's just that my back face algorithm remove them because one part of the face is behind the cube or the ball. Actually i just test what i can do with the MM. I'm sure that some in the Shed have better solution for this issue. Cheer. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
trippyben Regular Member Joined: 26/06/2011 Location: AustraliaPosts: 91 |
I can't get either to work. Running V2.7B on an original Maxi with VGA. The 3d cube stops with "Error line 20090: Invalid array dimension" and the 3d Ball stops with "Error line 20290: No more DATA to read" A quick look over the pasted in code and i can't see any errors in/around the line numbers identified. Any ideas? Ta. Ben |
||||
Keith @ Senior Member Joined: 19/06/2011 Location: AustraliaPosts: 167 |
Hey Ben a simple query ... are you using the zipped files in the post from 27 Nov ? Keith The more we know, the more we know we don't know ! |
||||
trippyben Regular Member Joined: 26/06/2011 Location: AustraliaPosts: 91 |
I copied the code from the earlier posts - the 'condensed' versions. Just downloaded the zip file, but the ball.bas and cube.bas files appear incomplete - they seem only to contain the object data? |
||||
Keith @ Senior Member Joined: 19/06/2011 Location: AustraliaPosts: 167 |
Ben sorry it's the code from the 26 Nov which has been posted into the message ... I didn't open the files on the zip (I only had a look at the contents of the zip and saw the ball and cube .bas files in there. I have opened them now and you're right they're not the real mccoy. the ball.bas makes up 7kb and the cube.bas makes up 4kb on my MM As you can see there's not much in them .. a few double digit line numbers at the start with mostly data and then the program starting at 20000 thru to 21080. Give em a whirl .. may need to add a blank remark at the end with 21090 ' or use these files. 2011-12-04_205817_ball-cube.zip Keith The more we know, the more we know we don't know ! |
||||
trippyben Regular Member Joined: 26/06/2011 Location: AustraliaPosts: 91 |
That's more better. Thanks Keith. Something must be corrupted in the copy/paste transfer from the listing in thos posts. Your zipped ones work straight up. They do look good. Well done Darthmite. Ben |
||||
darthmite Senior Member Joined: 20/11/2011 Location: FrancePosts: 240 |
hi , I just think that Rhino made too much faces when i export the meshes. A ''normal'' 3D Cube is 8 points and 12 faces when i make it with hand. But if you use another 3D editor who export STL or PLY you can get better result for sure. Long time ago i have use the 3D Studio ASC files who give better result but it was limited to 65535 Points/Faces due to the "old" 16bits systems So now you have the 3D viewer for the MM , we just need the 1st 3D game Cheer. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
Page 2 of 2 |
Print this page |