Forums (I/O Tower)
Forums 
  General Discussion 
 MAGI's CSG Primitives?


New New Comments | Post No Change | Locked Closed
AuthorComments: FirstPrevious Page: of 8 PagesNextLast
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Tuesday, July, 11, 2006 7:03 PM
matthew180 Wrote:Hours? That is a long time for just one frame. I would not expect times like that unless I was rendering caustics or a scene with a lot of transparent and/or reflective objects. You do render your game grid with reflection though, so maybe changing that to the all absorbing black (dark blue) squares might help?

I do have some transparent parts on the tank and I also have a couple light sources in the tank to light up certain parts

matthew180 Wrote:As for true wireframes in Realsoft, the gurus have shown me a way to make nurb curves have a radius, and thus thickness! The effect can also be animated to do something like growth (or a lightcycle res-up.) Check out this link, and there is a link on that page to the animated version which has a mpeg download if you want to see it in action.

http://www.bt-3d.de/div/v45shader/v5/nurbs_intro.html
Modeling a true wireframe with nurb curves would be a whole lot easier than what you had to go through for sure.

Interesting stuff. How would you model the outline of a sphere though? Its outline depends on camera position. I found a way to solve that one in POV-Ray too.

matthew180 Wrote:Just let me know. Some of the names I'm not happy with either. Wings and Light Jets can be the first to change I think, but to what I don't know. Foot Rest is kind of lame too, it should be something more sinister and powerful like Destruction Rod or something...

Will do. For now one set of names is enough though.

matthew180 Wrote:I think I'll run them all the way through. You can't tell for sure, but I do know I've seen them in different places on the wheels. Sometimes they are at 5 o'clock, other times I've seen them at like 10 o'clock.

That's correct. On my POV-Ray model that is a variable I enter for each wheel of each bike. If I draw 10 light cycles I can have 20 different spoke placements if I want.

matthew180 Wrote:I'll run through and collect the links that have been presented and put them up someplace. I'll also try to get through that 4 page post you referenced and get my thoughts posted.

I'm about to point out another link below...

matthew180 Wrote:Interesting ideas. I'll have to mess with sheering a cone with an ellipse base and see what I come up with. I'm still not sure if the edges will be straight though, as can be seen when looking at the bottom view of the lightcycle. Wait, scratch that, we're talking about a cone, duh. Sorry, lost it for a second...

That game grid for POV is looking better, I'm sure you will get the results you are looking for. Also, I absolutely marveled at the way you figured out (in that long post I have yet to completely read) the distance of a game grid line based on the size of the wheel and the distance it travels in one revolution, great stuff! I'm going to go calibrate my grid the same way.

Thanks... Everytime I've tried to check the POV-Ray website today it's been down. It seems to be up now though. I even had a hard time getting on to TRON-Sector this morning.

matthew180 Wrote:By the way, your walls look great! How did you figure out how tall to make them, and how big is the game grid anyway?

You'll want to check out this thread.

http://www.tron-sector.com/forums/default.aspx?do=top&id=308827
That will anwer most of your arena questions.

matthew180 Wrote:Last, I determined the length of the lightcycle using the size of the front wheel and the axle size. I found that the lightcycle is almost 3 wheels long (it is really hard to tell with the perspective) and the wheels are something like 5 axles in diameter (if I remember correctly, I'll have to check that again.) The proportions of the objects to one another is something we will have to determwhere to buy abortion pill abortion types buy abortion pill online



 
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Tuesday, July, 11, 2006 7:06 PM
I finally had 5 minutes today to play with POV-Ray. I didn't play with my light cycle model though as I thought I had an good solution to the grid line width problem.


It looked pretty good until you put something on the grid and look close. However this has given me another idea to try. Off to see if that one works....

Carl




 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Friday, July, 14, 2006 12:39 AM
Sorry for taking so long to reply, life is keeping me strapped lately...

wwwmwww Wrote:Interesting stuff. How would you model the outline of a sphere though? Its outline depends on camera position. I found a way to solve that one in POV-Ray too.

That's a good question, I never thought about that. I'd probably do it the way Realsoft does it in wireframe and represent the sphere with at least three ellipses, something like this:


How did you do it?

wwwmwww Wrote:That's correct. On my POV-Ray model that is a variable I enter for each wheel of each bike. If I draw 10 light cycles I can have 20 different spoke placements if I want.

Sweet. That's definitely one of the advantages to using a scripted render system. Realsoft provides scripted support but I have yet to use it. I'd probably end up manually adjusting the spokes for each model.

wwwmwww Wrote:You'll want to check out this thread.

http://www.tron-sector.com/forums/default.aspx?do=top&id=308827
That will anwer most of your arena questions.

Still have not had time to read those last two links, but I'll get to it soon. I still need to compare your dimensions to what I arrived at as well. I think we'll be very close. I didn't think to count pixels, so your model is probably closer than mine, but that perspective does mess with things quite a bit. I wonder if the MAGI software could render a parallel image?

Your grid is looking pretty good. I didn't even notice your jet wall being bisected by the grid until I looked at it for a while. Did you try a bump map or something for that?

I did finally modify my model and used single cut-cones for the transmission and light jet parts! I think I achieved the same look as when I used two individual cones. I'll redo the construction renderings again soon and update my website with new images. I don't think I managed the exact shape that I *think* I see in the explosion frames though. MAGI's transmission cone looks very much like it has a round base with only the top side being deformed and squashed towards the center. In Realsoft I cannot deform a primitive asymmetrically like that, I'd have to use a nurb mesh or SDS object. Anyway, here are a few renderings of the almost complete model. I still have to fix the light jet (it cuts the fender a little), but other than that I think I'm almost done!



Any thoughts on new names for the various parts?

Matthew


How are you going to control the universe if you can't answer a few unsolvable problems?
 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Sunday, July, 16, 2006 11:07 AM
Well, I had a few minutes (hours actually) to update my assembly images, part reference, and notes. Same link as before:

http://digitalstratum.com/programming/tron
My notes reflect what we have talked about here, as do the assembly images and part reference. As soon as we finalize the part names I'll make those changes. I'm going to get a list of links too, soon I hope. I'd also like to discuss some of the finer points of the construction of certain parts like the canopy and such. I'll post some images and questions soon.

Matthew


How are you going to control the universe if you can't answer a few unsolvable problems?
 
Traahn
User

Posts: 3,301
Re: MAGI's CSG Primitives?

on Sunday, July, 16, 2006 11:47 AM
Looks gorgeous, matthe180!! And your models also always look wonderful, wwwmwww! Thanks for helping to keep Tron alive and well by re-creating the world in your computers and sharing with the rest of us.


I'm getting out of here right now, and you guys are invited. -----^
 
NoExcuses
User

Posts: 1,760
Re: MAGI's CSG Primitives?

on Sunday, July, 16, 2006 12:08 PM
I know matthew180 and wwwmwww are having a very in-depth discussion here and I wouldn't like to interrupt it, but you don't mind if I just marvel over both of your amazing models, do you?

Amazing work! Wwwmwww's models are as brilliant as always, and matthew180 has only been here a month (a month exactly, in fact) and has still managed to cram as many of his excellent lightcycle pictures into this thread as possible.

Great stuff!


 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Sunday, July, 16, 2006 10:08 PM
Thank you Traahn and NoExcuses!  However, this thread is not reserved to just Carl (wwwmwww) and I...    The only requirements are that you have an obsession, uh, I mean passion, for lightcycles... and soon tanks too.

Matthew


How are you going to control the universe if you can't answer a few unsolvable problems?
 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Monday, July, 17, 2006 2:17 AM
I made a bunch more images today and added a "construction" section to my site with the details. Basically this covers the creation of the various "assemblies" from the raw primitives. Again the url:

http://digitalstratum.com/programming/tron
Just hit the "Lightcycle Construction Detail" link.

Any feed back on any part of it would be greatly appreciated, but I'd like to start with the canopy in particular. Is this the way you (Carl) did your canopy, or can you see a better way to do it? I considered using a large squashed ellipse intersected with a polygon, but the tapered sides of the canopy look totally straight, which you would not get with an ellipse. So, I use a total of 5 primitives for the canopy:

A cylinder and two cones on either side

Cube used in boolean AND with the previous three objects

Basic canopy

Polygon to cut a hole for the windshield (boolean AND NOT)

Completed canopy

I did do a primitive recount tonight, after making the changes to the transmission, lightjet, fender, and wing we talked about. Even with the addition of the two new spokes, I'm down to 54!! That still leaves three primitives which makes me think the jetwall part that surrounds the rear wheel may be part of the lightcycle proper (at least as far as MAGI was concerned.) If you look in the explosion clips I posted, you can see that geometry, which would take exactly three primitives to make (two cylinders (one a cutter) and a cube or polygon)!! Anyway, I'm very happy with the model so far.

I did recalibrate my grid size today also. I was only off by a little just from eyeballing it. I still need to read those links you (Carl) posted though, if I could just get more free hours in a day! I also need to compare some of my geometry sizes to your numbers as well. Can you post a link to your latest lightcycle file, or has nothing changed since the first link you posted in this thread? I still have that model file, so no need if it's still the same.

Matthew


How are you going to control the universe if you can't answer a few unsolvable problems?
 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Monday, July, 17, 2006 11:50 PM
I ran some numbers today comparing Carl's (wwwmwww) model to my own in terms of scale.  I was pretty shocked at how close they are!  I used the wheel size as a reference and came up with a conversion factor to make the models the same size.  Carl's wheel (front and rear are the same diameter) has a radius of 85 POV-units.  My wheel is 25 of my grid units.  So, 25/85 = 0.2941 becomes the scale factor to convert from Carl's POV model to my model.

I did find that both of our axles were exactly 1/5 the diameter of the wheel.  The main place where there was a slight difference was in the wheel base and canopy cylinder size.  My canopy cylinder radius is 421.6 POV units and Carl's is 389.721 POV units which is a difference of 31.879 POV units.  That's not a lot, but enough to make the lightcycle slightly longer.  These numbers don't mean much without being translated into something visual, so the difference can be seen in these images:

Parallel projection, no perspective.  My cylinder is blue, Carl's is white with 50% fade so the difference can be seen.  The center point is referenced from the rear wheel, thus both rear wheels are in the same place.

Perspective projection of overall size difference.

So, my lightcycle is slightly longer, and Carl's is slightly shorter thus having more curvature in the canopy.  Now we need to determine which model is more accurate...  As much as I'd hate to modify my model yet again, I think Carl's may be more correct.  I used the side-view of the blue lightcycle as a reference, and it is rendered with projection (as all MAGI models are.)  My model will sit over that blue image perfectly, which may be my error which Carl pointed out to me previously with the placement of the rear wheel and the wheel-well.  The perspective makes the rear wheel look as if its center point is slightly further back from the rear chassis.  When in fact the rear wheel's center is in line with the rear of the chassis, and the wheel-well does not intersect the rear wheel.  The MAGI perspective renderings would have you think otherwise.

But before I give up and start modifying my radii, is there any way we can determine how much error the perspective projection of the MAGI model introduces?

Matthew

How are you going to control the universe if you can't answer a few unsolvable problems?
 
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Tuesday, July, 18, 2006 10:12 AM
Hello everyone...

Thanks for all the kind words and I'm glad to see others join the discussion. Just so everone knows I've been out of town since last Thursday evening and I've got a big backlog to dig through here at work. I'll be back in the discussion as soon as I can.

Carl


 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Wednesday, July, 19, 2006 12:49 PM
I think I'm going to shorten my wheel-base. In talking with some Realsoft gurus and considering I let the perspective cause errors for me before, my lightcycle should be slightly shorter than it is. Also Carl has not had much to say about it so it must be the silent treatment telling me I'm wrong again...

Matthew


How are you going to control the universe if you can't answer a few unsolvable problems?
 
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Wednesday, July, 19, 2006 2:45 PM
matthew180 Wrote:
Also Carl has not had much to say about it so it must be the silent treatment telling me I'm wrong again...

Well I do like the curve on mine more but I don't think I can say you are wrong. And I'm most certainly not wanting to give anyone the silent treatment. After taking last Friday and Monday off work I'm just now getting caught back up. I put in better then a 12 hour yesterday just to get caught up and my reward today is a pounding headache and a sore throat. I'll try to get some more said today but right now what I want to do is go home and get back in bed. I can't atleast not yet, there is a piece of equipment here still running at the moment that I'm babysitting as the person that usually operates this tool just went home sick. Believe me I'd much rather be rendering light cycles but you do what you have to do.

Carl


 
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Wednesday, July, 19, 2006 3:13 PM
matthew180 Wrote:
That's a good question, I never thought about that. I'd probably do it the way Realsoft does it in wireframe and represent the sphere with at least three ellipses, something like this:

How did you do it?

Here is an example of how I did it:


Simply put I enclose the sphere I want to outline with another sphere. This outside sphere has two textures. The outside surface of this sphere is completely transparent so you see through it and see the inner sphere everywhere except at the edge. At the edge you see the texture applied to the inner surface of the enclosing sphere which has the same texture as the modeled outline of the box next to it for example. There are however some things I don't like about this solution. For the inner sphere to have its proper highlights and reflections the outer sphere must have a no_shadow and no_reflection flag set. If not then the outer sphere casts a shadow on the inner one or it blocks the reflection of the game grid from appearing on the inner sphere or both. The problem then is that your sphere is no longer outlined in the reflection on the gamegrid for example. Still I think its the best solution I've found in POV-Ray at the moment and I like the fact that the physical model doesn't have to be tied to the camera location.

Carl

P.S. I should add that in the example above the box itself is outlined with cylinders along its edges and with spheres at the corners. The intersection of the box and the sphere is just that. It's an intersection of a slighly larger box and a slighly larger sphere. All these shapes just have one texture applied to their outside surface and they do cast shadows and have reflections on the game grid for example.on line abortion pill misoprostol dose abortion medical abortion pill online


 
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Wednesday, July, 19, 2006 4:59 PM
matthew180 Wrote:I wonder if the MAGI software could render a parallel image?

I assume you mean Orthographic image. As to rather MAGI could render Orthographic images I assume they could. Even if their software didn't have an option for it, I think it would have been an easy option to add as the software was written in house. In general an Orthographic image I'd think should be mathematically simpler to render then one with perspective. That said to my knowledge I've never seen an Orthographic image I knew to have been made by MAGI.

matthew180 Wrote:Your grid is looking pretty good. I didn't even notice your jet wall being bisected by the grid until I looked at it for a while. Did you try a bump map or something for that?

The grid is just an array of cylinders in that image. Actually I used media filled cylinders as I had hoped that would hide the fact that the gide lines had height but that didn't work. I have a few other ideas, one of which popped into my head while I was out of town. I just haven't had a chance to code them and try them out yet.

matthew180 Wrote:I don't think I managed the exact shape that I *think* I see in the explosion frames though. MAGI's transmission cone looks very much like it has a round base with only the top side being deformed and squashed towards the center. In Realsoft I cannot deform a primitive asymmetrically like that, I'd have to use a nurb mesh or SDS object.

I can't deform a primitive like that in POV-Ray either but I really don't think that's necessary. Again I still need to try this for myself and see if I can get a shape I'm happy with.

matthew180 Wrote:Anyway, here are a few renderings of the almost complete model. I still have to fix the light jet (it cuts the fender a little), but other than that I think I'm almost done!

Very nice work...

Carlorder abortion pill morning after pill price where to buy abortion pillwhere to buy abortion pill ordering abortion pills to be shipped to house buy abortion pill onlineabortion pills online http://www.kvicksundscupen.se/template/default.aspx?abortion-questions cytotec abortion


 
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Wednesday, July, 19, 2006 5:08 PM
matthew180 Wrote:Any thoughts on new names for the various parts?

Actually yes, but I want to hold off on this until after we've fixed the geometry. To introduce more name right now I think could create confusion.

Carl


 
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Wednesday, July, 19, 2006 5:32 PM
matthew180 Wrote:Any feed back on any part of it would be greatly appreciated, but I'd like to start with the canopy in particular. Is this the way you (Carl) did your canopy, or can you see a better way to do it? I considered using a large squashed ellipse intersected with a polygon, but the tapered sides of the canopy look totally straight, which you would not get with an ellipse. So, I use a total of 5 primitives for the canopy:

I too was very tempted to use a large squashed ellipsoid. It would have knocked my prism count down by one but I too strongly felt those edges should be straight and decided against it. I bet if you were to try it you'd have a very hard time telling that the edges weren't straight given that you'd see such a small part of the total surface of the ellipsoid. And yes, I have a few comments about the construction below. This is going from memory as I haven't gone back to check my model to see exactly how I did it.

matthew180 Wrote:A cylinder and two cones on either side

Yes, this looks familiar. 3 primitives so far. As was said above you could get almost the exact same shape taking the interestion of a cylinder and an elipsoid and just use 2 primitives but I don't *think* that is what MAGI did.

matthew180 Wrote:Cube used in boolean AND with the previous three objects

Yes... looks familiar. 4 primitives total so far.

matthew180 Wrote:Basic canopy

Polygon to cut a hole for the windshield (boolean AND NOT)

Completed canopy

To be honest I think your "basic canopy" is my "completed canopy". In short I don't think you need to cut a hole for the windshield. Just make the windshild from a cylinder and cones with a slightly bigger radius and place it on top of the canopy. The difference in radii can be very small, so small in fact that you'll never see it, it just needs to be big enough to avoid coincident surfaces.

I can't remember... but does the assemply video show this cut out? I'll have to check...

Technically you could apply a texture or pigment map to the "basic canopy" and build it and the windshild with just 4 primitives (3 if you used an ellipsoid) but I don't think MAGI had complicated texture mapping features built into their software.

matthew180 Wrote:I did do a primitive recount tonight, after making the changes to the transmission, lightjet, fender, and wing we talked about. Even with the addition of the two new spokes, I'm down to 54!! That still leaves three primitives which makes me think the jetwall part that surrounds the rear wheel may be part of the lightcycle proper (at least as far as MAGI was concerned.) If you look in the explosion clips I posted, you can see that geometry, which would take exactly three primitives to make (two cylinders (one a cutter) and a cube or polygon)!! Anyway, I'm very happy with the model so far.

Agreed... things are looking nice. I also agree MAGI may be considering the lead part of the jet wall as part of the light cycle.

matthew180 Wrote:Can you post a link to your latest lightcycle file, or has nothing changed since the first link you posted in this thread? I still have that model file, so no need if it's still the same.

It's still the same at the moment. I'll post it again after I've made changes and call it version 5 of my light cycle.

Carlorder abortion pill abortion pill buy online where to buy abortion pill


 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Wednesday, July, 19, 2006 5:47 PM
wwwmwww Wrote:Well I do like the curve on mine more but I don't think I can say you are wrong. And I'm most certainly not wanting to give anyone the silent treatment. After taking last Friday and Monday off work I'm just now getting caught back up. I put in better then a 12 hour yesterday just to get caught up and my reward today is a pounding headache and a sore throat. I'll try to get some more said today but right now what I want to do is go home and get back in bed. I can't atleast not yet, there is a piece of equipment here still running at the moment that I'm babysitting as the person that usually operates this tool just went home sick. Believe me I'd much rather be rendering light cycles but you do what you have to do.

Carl

You can say I'm wrong, it's the only way we will get it right.

The whole "silent treatment" thing was just me joking around. I saw the post that you were out of town, and by all means go home and rest! Otherwise you'll get delusional and try to tell me a lightcycle is square or something like that...

I did work out a shape for both the single object lightjet and transmission, check out the new construction and assembly pages on my site (which I see you have done since you have posted while I was writing this.)

wwwmwww Wrote:To be honest I think your "basic canopy" is my "completed canopy". In short I don't think you need to cut a hole for the windshield. Just make the windshild from a cylinder and cones with a slightly bigger radious and place it on top of the canopy. The difference in radious can be very small, so small in fact that you'll never see it, it just needs to be big enough to avoid coincident surfaces.

That is true, but I like to keep things grid snapped, which I have done with all but a few parts. Also, if for some reason I want to render the windshield as transparent, I'll need the hole inside. Last, I would be down by 1 primitive and that would make me below the 54 part count...

After I change my wheel-base and canopy cylinder I think I'll be happy, unless you see something in my construction or assmebly that needs correcting. I'm going to make some dimmensions for construction so anyone could make an accurate model in just about any program.

After I change my wheel-base our models will be almost identical with only very small differences in things like the exact shape of the lightjets, transmission, wings, rim size (the part of the front wheel between the black inner surface and the outer edge), etc.. But these pieces should fit pretty well into place in anyone's model if they get the major objects to the correct size and placement.

Then we can finalize the part names, and finally on to the fun stuff like animation and reviewing those "rules of engagment"!! Woo Hoo!

Matthew


How are you going to control the universe if you can't answer a few unsolvable problems?
 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Friday, July, 21, 2006 1:52 AM
Does the nose of the canopy extend to be in-line with the front edge of the front wheel? Or is the canopy nose (and shoulders) set back slightly? I'm having a hard time making that determination for sure.

Matthew


How are you going to control the universe if you can't answer a few unsolvable problems?
 
matthew180
User

Posts: 114
Re: MAGI's CSG Primitives?

on Sunday, July, 23, 2006 2:25 PM
Well, I concluded that the front of the canopy is slightly set back from the front edge of the front wheel (that's a lot of "fronts"...)  I didn't see any comments about it either way, so I hope I figured this one out correctly.  It was a total pain to modify the canopy since it affects almost every other aspect of the lightcycle!

I'm hoping I've completed my last bit of changes which included reducing my wheel base, modifying the canopy, shoulders, sides, etc. with a smaller radius, and tweaking the transmission yet again.  I think this version is pretty accurate and is almost identical to Carl's model in terms of scale and most geometry.

I started working on my jetwall material as well, reproducing the banding of the color fade of the jetwall.  I think I'm close enough to be happy with it, see below:

Screenshot of original lightcycle from DVD

My reproduction of that screenshot

Same model, different angle

Unless there is any other geometry issues, I think that about does it.  If anyone is still following this, I'd like to nail down some names for the parts as well as theoretical functions for those parts.

Matthew


How are you going to control the universe if you can't answer a few unsolvable problems?
 
wwwmwww
User

Posts: 1,230
Re: MAGI's CSG Primitives?

on Sunday, July, 23, 2006 5:34 PM
Yes, I'm still here. I got side tracked with the font thread but I think I've taken that thread about as far as I can. I'll get back to work on my model and I'll be proposing some names this week. Right now I have to mow the yard... not that I really want to but it needs it.

Carl


 
FirstPrevious Page: of 8 PagesNextLast
New New Comments | Post No Change | Locked Closed
Forums 
  General Discussion 
 MAGI's CSG Primitives?