BlackEye and My Horse :) !

Started by
7 comments, last by BlackEye 20 years, 3 months ago
Well! (Where I am at is later, first I will explain my absence and OP) Firstly I have started a new thread instead of the below 3D horses thread as it seems to have diverted somewhat from my original Post. Anyway. Guys thanks to everyone who did post, sadly I had to make a damn MySQL PHP system, so got sidetracked, however I am back on it and into it now. I am not a newbie, but i am no expert at 3D either. Let me refine my task... I am making a 3D race simulater, which you can thing of as a demonstration of a games programmers simple understanding and willingness to learn the Art of 3D modelng. However as someone may be pleased to hear i aim to make it realistic to a degree. By this I hope to not slow horses velocites down,and still have them animated at the same speed, and other like elements. So where am I ? I have a 3D world , pretty basic , just a flat ground terrain to be honest. I need to figure out how to add a track, and The Horse AI to run arround it without colliding? A* path finding perhaps? The Horse you cry ? Well I was lucky enough to recieve a simple Horse Mesh for 3D studio from a generous member. However I then never looked at the post as it went of track. However I manged to get it exported to an X file, and loaded into my world, all be it with problems and perhaps some bugs? I have now added studied hard at 3D max, and have added Bones and IK solvers, and am playing with my animations as i speak based on Eadweard Muybridge studies. Goals, I aim to be able to pass information from a recalculated race program using elements such as jockey, talent weight and style. Horse, Fitness, Style, type(Bay , chestnut etc), Size, form. Track, Going, length . From this I need to get a race to run the same each time, from the same data. So i need to handle horses blocking and overtaking in a consistant maner, aswell as late runs etc. Just the results been the same is not enough hmmm. A thinka?! now for advice ! S1CA you spoke of splines for the horses to follow?Could you explain anymore mate? Is it best to play with creating an animation in Max, then importing it to Direct X. Or export individual X files as frames and then i can load them in 1 by 1 and control them myself with my code? I think i can do the later at the moment, as i have a mesh.h to load x files, but not animated files. I also have several sounds at hand ready to use. Again thanks to all and the the moderator for helping simulate such intrest and help for my project. BlackEye. Please feel free to email if anyone else needs help getting to where i am at now.
Advertisement
Sounds like mario cart with horses. You do not need the AI to use A* or any path finding, because the course is set. You just need a sequence of endpoints connected by splines. The splines dictate how the ai interpolates its position as it moves from one endpoint to the next. To add a little variation, the ai for each player can deviate slighly from the path by fixed amount and might also vary to pass obstacles and other players. You can just calculate the heading vector from the next position minus the current position and vary distance from the spline along the perpendicular vector. Horses need to check that they do not get too close to other horses. They should also jump or go around any obstacles that might be in the spline path.

As for rerunning each race, you need to get and save a random number seed for each race. You then seed the random generator with this number and run the race algorithm. As long as the calls are made to the random number function with the same seed in the same order, the results will be exactly the same.
What information are you using to generate coat colors? (chestnuts, bays, sorrels, etc.) I was investigating a method of generating unique but plausible coat colors for each horse - could be realtime, but doesn''t need to be. Markings are important and go a long way towards making each horse more identifiable. Markings include stars, snips, blazes and socks.

Post a pic of the polygonal mesh you''re using.

What methodology or information set are you using for the gallop?
_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in Think Harmony With Horses
ALU - SHRDLU - WORDNET - CYC - SWALE - AM - CD - J.M. - K.S. | CAA - BCHA - AQHA - APHA - R.H. - T.D. | 395 - SPS - GORDIE - SCMA - R.M. - G.R. - V.C. - C.F.
What length races are you running? Quarter mile? One mile? Mile and a quarter? Mile and a half? If you''re racing quarter miles, you''re going to want your horses to be quarters, which have a slightly different build than thoroughbreds. If you''re racing the one miles or more, you''re going to want thoroughbreds, which are leaner and taller, usually over 16 hands.

In the ''73 Derby, which is a mile and a quarter, Secretariat posted a faster time for each successive quarter mile, and broke the world record to boot for the mile and a quarter. Then, about two weeks later, when he was racing in the Belmont, he shattered that mile and a quarter record, yet still had a quarter mile left to go, because the Belmont is a mile and a half. He also still holds the record for the mile and a half at 2:24. That was an astounding day in racing history. The week prior to that race, Secretariat was simultaneously on the covers of Time Magazine, Newsweek and Sports Illustrated. Check out the cover of Time. Secretariat was known affectionately as Big Red. He was a sorrel. Notice his superb athletic build here. He had three white socks.
_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in Think Harmony With Horses
ALU - SHRDLU - WORDNET - CYC - SWALE - AM - CD - J.M. - K.S. | CAA - BCHA - AQHA - APHA - R.H. - T.D. | 395 - SPS - GORDIE - SCMA - R.M. - G.R. - V.C. - C.F.
Are your jockeys animated? Do they use the whip on the rear flank, and/or do they use it as well as a guide up by the horse''s eye? Different horses had/have different requirements regarding the whip. When Turcotte raced Secretariat, he did not whip Secretariat - not only was it not necessary, but it was essentially necessary to not use the whip in such a fashion. In my above post, on the Thoroughbred Champions site, you can read some about this.
_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in Think Harmony With Horses
ALU - SHRDLU - WORDNET - CYC - SWALE - AM - CD - J.M. - K.S. | CAA - BCHA - AQHA - APHA - R.H. - T.D. | 395 - SPS - GORDIE - SCMA - R.M. - G.R. - V.C. - C.F.
ok bishop,

I was working on my jockey yesterday, and yes they are animated. Now my original goal was for flat races, but if i can get my horse model working as i hope, i see no reason i carnt play with jumping. In which case it would be nice to have the jockey perhaps fall of. This is the icing on the cake and somehting i would look at a little later on. However for now the jockey is animated and will use the whip, which i hope to be linked to data given, and not just a randomn occurence which sees no response from the horse.

Horse markings / Mesh,

Ok here is my Mesh
http://www.2ndchancegames.co.uk/HorseMesh.jpg
And my current Bones system
http://www.2ndchancegames.co.uk/HorseBones.jpg

I made a running model, but it messed up a little, and i have issues from exporting from 3DS to X files and the textures? As it seems to be able to import ok in my DX engine, but without textures? I''ll fix it

Indiviual markings would be a lovely touch, again however, I have to get the basics working first. You are welcome to get involved if you wish, as you seem to feel quite passionate about this

This is a non - commercial project, and one i am using to learn and act as a demo of my 3D modeling knowlege along with a a 2D football game I am making, to get a job for a computer games company.


Hey, that''s a pretty nice mesh. The eyes seem a bit overly rounded though - it might just be the wireframe, or you might want to squish them vertically a little.

Are you going to use fur effects to add things like a mane?

Richard "Superpig" Fine - saving pigs from untimely fates - Microsoft DirectX MVP 2006/2007/2008/2009
"Shaders are not meant to do everything. Of course you can try to use it for everything, but it's like playing football using cabbage." - MickeyMouse

yup, really nice mesh, well done
superpig> I guess it''s the eyeballs and wireframe display that make those "overly rounded" eyes... assuming he modeled eyelids it should look alright
quote:Original post by BlackEye
I was working on my jockey yesterday, and yes they are animated. Now my original goal was for flat races, but if i can get my horse model working as i hope, i see no reason i carnt play with jumping.
Muybridge has some footage of jumping. You could also study jumping and what constitutes good form while jumping, and what constitutes poor form while jumping.
quote:
However for now the jockey is animated and will use the whip, which i hope to be linked to data given, and not just a randomn occurence which sees no response from the horse.
But use the whip in what way? And what is the response? It does depend on the horse and the jockey.
quote:
Horse markings / Mesh,
Ok here is my Mesh
http://www.2ndchancegames.co.uk/HorseMesh.jpg
Ok, you didn''t answer me with regard to breed or race length, but I''m going to assume thoroughbred. The withers don''t seem prominent enough for a thoroughbred.
quote:
And my current Bones system
http://www.2ndchancegames.co.uk/HorseBones.jpg
Are you familiar with where the meaty articulated portion of the tail ends, and how anything beyond that is just hair? Ever see a horse carry his tail like a flag on a pole?
quote:
Indiviual markings would be a lovely touch, again however, I have to get the basics working first. You are welcome to get involved if you wish, as you seem to feel quite passionate about this
Markings are pretty important, but the ideal is to do it procedurally.
_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in Think Harmony With Horses
ALU - SHRDLU - WORDNET - CYC - SWALE - AM - CD - J.M. - K.S. | CAA - BCHA - AQHA - APHA - R.H. - T.D. | 395 - SPS - GORDIE - SCMA - R.M. - G.R. - V.C. - C.F.

This topic is closed to new replies.

Advertisement