CineMut shader family - Opaque

For collaboration on developing the mod capabilities of VS; request new features, report bugs, or suggest improvements

Moderator: Mod Contributor

Post Reply
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

May not look like much progress, but the engine block is a very delicate thing; it has to be right for everything else to work, so it's taking time.

Image

Image

The good news is, once the engine is done, the rest is just tubes and hoses and wires; --trivial stuff.
vodalian
Hunter
Hunter
Posts: 69
Joined: Wed Mar 05, 2008 11:43 pm

Post by vodalian »

that looks pretty awesome!
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Thanks!

Finished the left side of the engine block:

Image

Image

The right side is probably going to be more difficult. Not just because it appears to be more complex from what I can glean, but because it's hard to glean much. The right hand side of harleys are usually covered with the exhaust pipes. Anybody here has a Harley and a digital camera?
charlieg
Elite Mercenary
Elite Mercenary
Posts: 1329
Joined: Thu Mar 27, 2003 11:51 pm
Location: Manchester, UK
Contact:

Post by charlieg »

Looks good!
Free Gamer - free software games compendium and commentary!
FreeGameDev forum - open source game development community
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Thanks! There should be a motorcycle riding adventure game, Charlieg. Maybe you could propose it a Freegamer. Why hasn't it been done yet? Just ride from town to town, watching the cows pass by, or trying to get past that slow 18-wheeler. At each major city there are a few biker hangouts, where you can drink beer, hear stories, maybe have some of your questions answered, solve a mystery, or get a new quest; and you can spend your money on drugs, or upgrading and maintaining your bike. And you can join a "faction" (not only motorcycle gangs, but also less shady motorcycling loving groups), or remain independent. There'd by wise motorcyclists you can also meet, who talk like Robert Pirsig ("Zen and the Art of Motorcycle Maintenance") for the enjoyment of philosopher players.
At the end of the game, you get a score that represents the number of quests solved, the final value of your bike and pocket cash, but you get big demerits for "dropping the bike", crashing, or for having to visit or pass by any city more than twice in order to solve the quests (so you'd take the blue highways whenever possible).
If any open source developers out there take on the idea, they get free bike models, CineMut shaders, some help with the physics, and a beer.
Last edited by chuck_starchaser on Wed Aug 20, 2008 3:47 pm, edited 1 time in total.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

f any open source developers out there take on the idea, they get free bike models, shaders, and a beer.
And the beer would probably be the tipping point for most FOSS dev types :wink:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Well, I posted a formal proposal at Free Game Dev Forum,
http://forum.freegamedev.net/index.php? ... 5c4951fed8
but even with the beer thrown in, no takers so far :(

I've extended the crank-case to meet the cylinders, though they are not welded yet, and started to develop an outline for what will become the right-hand side cover plate.

Image
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

BTW chuck, I've been working with very-high-poly models lately and have a new piece of info for you.

Although GPUs can handle millions of polys per frame, they can't cope with that many per object. There seems to be a limit in vertex buffer size where performance drops drastically, and that limit is around 64k indices (vertices), and same number of triangles I imagine.

So you'll have to keep your single meshes smaller than that. Your object could be made of multiple <60k vert/poly meshes. Lower-end cards probably have a smaller limit, so I'd stay below, say, 20-30k?

You'll have a hard time reaching the 100k polies you wanted. Bummer right?
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Very interesting! So, this probably means that vertex indexes are 16-bits wide, and when there's more than that, GPU's have to use some kind of paging scheme.
This is not "BAD news", necessarily. I was thinking about separating metals from dielectrics into two meshes, for different reasons. And the front fork has to be separate, so that if one day it needs to steer, it can. Plus the glassworks and lights would be yet another mesh. And each wheel should be separate. That would still leave me with some objects having more than 64 K vertices, but on the other hand, I have not tried to optimize anything at all. I've been cutting and cutting like Jack the Ripper; but once it's done, I'd probably be able to halve the vertex count; partly using scripts, partly by hand.

This is very useful new info. Thanks!
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Hey; look what I found! A picture of the very motorcycle that the other model came from:
http://www.totalmotorcycle.com/photos/2 ... er1200.jpg
It was also a Harley.
I could have fixed the other model, instead...
EDIT:
Found a pic of the right hand side of the engine of an old Harley, and it seems the design hasn't changed much.
http://kathika.com/wp-content/uploads/harley.jpg
charlieg
Elite Mercenary
Elite Mercenary
Posts: 1329
Joined: Thu Mar 27, 2003 11:51 pm
Location: Manchester, UK
Contact:

Post by charlieg »

Wow, the model and shader have come on tremendously! They look photo-realistic although when did you start rendering on white?

Aaaaaah ;-)

Seriously though, on the bright side, at least you have 2 bikes for your game once you have an interested programmer.
Free Gamer - free software games compendium and commentary!
FreeGameDev forum - open source game development community
charlieg
Elite Mercenary
Elite Mercenary
Posts: 1329
Joined: Thu Mar 27, 2003 11:51 pm
Location: Manchester, UK
Contact:

Post by charlieg »

In fact, the place you may want to ask for programmers is... the Ogre3d forums:
http://www.ogre3d.org/phpBB2

That may be a better place to solicit graphics / physics people.
Free Gamer - free software games compendium and commentary!
FreeGameDev forum - open source game development community
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

That's a good idea! Thanks! Just to clarify, I was just "throwing out" an idea; I don't want to get involved full time with it. My commitment is to PU first; then Tadpole. But I'll put a link to my proposal at the Ogre forum.

EDIT:
Done!
http://www.ogre3d.org/phpBB2/viewtopic. ... 652#301652
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Was checking out some links from that Model viewer i have been playing with and this showed it's self http://www-c.inria.fr/gamma/download/CYCLES/index0.php lots of other meshes in that data base :wink:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Great resource! Thanks! Low-poly, most of them, but it's great to have a starting point of a mesh.

The right hand side of the engine has driven me to depression. This is the third time I model that cover to end up with garbage; I show it not without shame, just to explain why it depresses me so much:

Image

Finally, I decided I can't go on modeling blindly off pics in a magazine that show next to nothing, so I googled "harley engine" and clicked on Images, and voila:

Image
Image
Image
Image

Even a tatoo helps to clarify:

Image

Shouldda done this long time ago.
So, deleting all the crap for the third time... I hope the fourth time it works, or I'll have to send the mesh to HOG and pay them to fix it.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

Why don't you try nurbs surface patches?
You can draw the contour first and then connect the lines, it's really cool and how things are done in CAD world.
Later you can convert it to a trimesh and refine it by hand.

You'll have to practice nurbs modelling first though.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Never done it; I have new-thing-fright to overcome, always.
When it comes to doing all the wires and cables, I'm gonna have to re-teach myself Blender's way of making spaghetti, and I'm already paranoid of that.
Thing is, the few times I used it (one curve serving as the path for another), it took me a full day of trying a million things to get it to work right; and in the end I never learned what exactly IS the right way to do it.

This has been going VERY slowly. Full day of work today, and haven't even got to the cover plate, yet. At least I think I'm on the right track, now.

Image
Phlogios
Confed Special Operative
Confed Special Operative
Posts: 298
Joined: Sun Jul 30, 2006 1:38 pm
Location: Sweden
Contact:

Post by Phlogios »

The only way I know to make wiring is making circles and using the spin function. It has been a long time since I read the wiring tutorial on... is it the PU forum?
"Enjoy the Choice" - A very wise man from Ottawa.
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

There IS a tutorial at the PU forum, written by Dual Joe, but I couldn't understand any of it. He used a different way.
The method I was referring to is not by spinning a circle but py "pathing" it by another curve. You create a curve in space, and then in the "path" field you put the name of your circle curve, and press some button, and then you get the circle following that curve. Something like that. I did it two or 3 times; but each time took me like a whole day of experimentation to make it work.
Phlogios
Confed Special Operative
Confed Special Operative
Posts: 298
Joined: Sun Jul 30, 2006 1:38 pm
Location: Sweden
Contact:

Post by Phlogios »

Which is exactly what DualJoe does, in the "oddly shaped hose" tutorial.
"Enjoy the Choice" - A very wise man from Ottawa.
Deus Siddis
Elite
Elite
Posts: 1363
Joined: Sat Aug 04, 2007 3:42 pm

Post by Deus Siddis »

klauss wrote:Why don't you try nurbs surface patches?
You can draw the contour first and then connect the lines, it's really cool and how things are done in CAD world.
Later you can convert it to a trimesh and refine it by hand.
You'll have to practice nurbs modelling first though.
Don't let this discourage you all from experimenting with it, but as a small heads up, Blender is weak in the NURBS realm. Or at least it was last time I used it, but I have not heard of any changes to that part of the program since then. I only use it when I need specific control of the amount of polygons used in a moderately complex curvy surface, otherwise it's subsurf all the way.

I was never a huge NURBS fan, but it is a shame that it is one of the few weaker areas in the program.
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

I wrote:The right hand side of the engine has driven me to depression. This is the third time I model that cover to end up with garbage; I show it not without shame, just to explain why it depresses me so much:

Image

Finally, I decided I can't go on modeling blindly off pics in a magazine that show next to nothing, so I googled "harley engine" and clicked on Images, and voila:

Image
Image
Image
Image

Even a tatoo helps to clarify:

Image
Quoted my older post just to have the reference pics handy again.
Decided to start from the cover plate, see if doing so helps me figure out the engine block shape behind it. Still garbage, but not as bad as before.

Image
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Alright, front part of right hand side done.

Image

Now, onto trying to understand the back section...
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Not much progress today, but, as I firmly believe is the way to get things done, I did something and not nothing :D

Image

The problem with the right hand side of the engine continues to be its being so hard to understand from pics.
Phlogios
Confed Special Operative
Confed Special Operative
Posts: 298
Joined: Sun Jul 30, 2006 1:38 pm
Location: Sweden
Contact:

Post by Phlogios »

Maybe you could ask Maverick to take some pictures! :D
"Enjoy the Choice" - A very wise man from Ottawa.
Post Reply