Flight Sim + Terrain I'm working on
Page 2 of 2 Goto page Previous  1, 2
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Mon, 13th Apr 2009 22:09    Post subject:
I understand what you mean but I don't know how to do that Smile it's my first day with xna and c#... I'll just try and see what the result will be... So far I have a modeled ground with 1 single texture and I'm modeling a plane. Further I'm trying to figure out, how I should implement the camera and other objects Smile


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Glottis
Banned



Posts: 6313

PostPosted: Mon, 13th Apr 2009 23:14    Post subject:
My trusty Maya 2009 can export to .fbx without a need of any 3rd party shite


C2D E6750 @ 3.2Ghz, 4GB 800MHz DDR2 4-4-4-12, GeForce GTX 260 c216 OC 896MB, 3.2TB, Windows 7 Ultimate x64

Xbox 360 Elite, PS2 Slim, Xbox
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Mon, 13th Apr 2009 23:24    Post subject:
c4d can export to fbx without any 3rd party shite too Razz

But I don't know how to use multiple textures on one object :/ I'm a C4D noob Smile


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Glottis
Banned



Posts: 6313

PostPosted: Mon, 13th Apr 2009 23:46    Post subject:
PumpAction wrote:
c4d can export to fbx without any 3rd party shite too Razz

But I don't know how to use multiple textures on one object :/ I'm a C4D noob Smile

Well then why use C4D? Use a 3d app you are familiar with. Unless you aren't familiar with any, in that case you should have picked max or maya. They have tons and tons of tutorials, because they are so widely used, and because of that are way easier to learn on your own than C4D, imo.


C2D E6750 @ 3.2Ghz, 4GB 800MHz DDR2 4-4-4-12, GeForce GTX 260 c216 OC 896MB, 3.2TB, Windows 7 Ultimate x64

Xbox 360 Elite, PS2 Slim, Xbox
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 75802
Location: Israel
PostPosted: Tue, 14th Apr 2009 00:14    Post subject:
On the topic of terrain multitexturing, this is how I have currently implemented it:

Code:
var ratio = waterHeight / maximumHeight;

[...]

//Done for each terrain vertex.
if (heightData[x, y] <= ratio * maximumHeight)
      terrainVertices[x + y * terrainWidth].TexWeights.X = 1.0f;
else if (heightData[x, y] <= (ratio + 0.45f) * maximumHeight)
{
      terrainVertices[x + y * terrainWidth].TexWeights.Y = stretch(heightData[x, y], maximumHeight, ratio, ratio + 0.15f);//getBlend(heightData[x, y], ratio, ratio + 0.15f);
      terrainVertices[x + y * terrainWidth].TexWeights.X = 1.0f - terrainVertices[x + y * terrainWidth].TexWeights.Y;
}
else if (heightData[x, y] <= (ratio + 0.55f) * maximumHeight)
{
      terrainVertices[x + y * terrainWidth].TexWeights.Z = stretch(heightData[x, y], maximumHeight, ratio + 0.45f, ratio + 0.55f);
      terrainVertices[x + y * terrainWidth].TexWeights.Y = 1.0f - terrainVertices[x + y * terrainWidth].TexWeights.Z;
}
else
{
      terrainVertices[x + y * terrainWidth].TexWeights.W = stretch(heightData[x, y], maximumHeight, ratio + 0.55f, ratio + 0.75f);
      terrainVertices[x + y * terrainWidth].TexWeights.Z = 1.0f - terrainVertices[x + y * terrainWidth].TexWeights.W;
}

It is really not the optimal solution, but this is only done once, during loading, so I don't really care much about it. Smile


My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

“Don't cry because it's over. Smile because it happened.”
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 75802
Location: Israel
PostPosted: Tue, 14th Apr 2009 00:29    Post subject:
On the topic of object rotation, I'd recommend using quaternions. Practical explanation on quaternions can be found here. Notice, that XNA already has a quaternion implementation in the form of Microsoft.Xna.Framework.Quaternion, including linear and spherical linear interpolations between quaternions. Rotation then becomes as easy as multiplying two quaternions. Smile


My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

“Don't cry because it's over. Smile because it happened.”
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Tue, 14th Apr 2009 02:18    Post subject:
I did this little spaceship here and I'll implement it later Smile ah I suck at modeling Sad


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 75802
Location: Israel
PostPosted: Tue, 14th Apr 2009 02:21    Post subject:
Hold on, you suck at modeling? What about that chai glass, with the cigarette you showed not long ago? Was that not modeling?


My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

“Don't cry because it's over. Smile because it happened.”
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Tue, 14th Apr 2009 03:00    Post subject:
It was but these are pretty easy tasks Smile Just take a spline and fool around. It's not a big deal. I focus much more on the realism side, so that I try to achive good materials and stuff Smile Just look at the spaceship Smile))) I have to improve.. But it seems as if it is easier to construct something with google sketchup than c4d because in sketchup there are all those construction lines and stuff which I really miss in C4D Sad


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 75802
Location: Israel
PostPosted: Tue, 14th Apr 2009 03:09    Post subject:
If you need a good model pack, I recommend DeEspona model pack. Razz It has some amazing models, but are for 3ds Max (in "MAX" format).

BTW, why C4D and not 3ds?


My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

“Don't cry because it's over. Smile because it happened.”
Back to top
moosenoodles




Posts: 18411

PostPosted: Tue, 14th Apr 2009 13:58    Post subject:
PumpAction wrote:
http://www.youtube.com/watch?v=ujUVbsGFceA&fmt=18 I did this little spaceship here and I'll implement it later Smile ah I suck at modeling Sad


I know how you feel, im pretty fine with modeling its just im not so great with the texturing lark Smile, I could be fine if I put more hours into it but its a long slog to do that these days..
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sat, 18th Apr 2009 19:48    Post subject:
My 3rd spaceship. Still not textured Smile








1 1/2 hours incl. rendering.


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 75802
Location: Israel
PostPosted: Sat, 18th Apr 2009 20:25    Post subject:
Nice job!

Send it to me when you are done if you want, you might see it in a flight sim. Razz


My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

“Don't cry because it's over. Smile because it happened.”
Back to top
Frant
King's Bounty



Posts: 24978
Location: Your Mom
PostPosted: Sat, 18th Apr 2009 23:13    Post subject:
It's an interesting phenomenon that there's almost always wings on space ships. There's no aerodynamics going on in space. You could basically create a big potato and it would handle similarly to something that looks fast (as long as you can handle inertia in the same way). Can always claim that the ship enters various atmospheres of planets and need the wings for said reasons. Wink

Nice job in any case. Now go mess around with texturing. Smile


Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 19th Apr 2009 00:02    Post subject:
Yeah, thats why the space ships in eve look pretty cool because they don't obey this stupid rule Smile I just wanted to try to make something like this. Am thinking about doing something R-Type like with xna Very Happy

Sure leo, if you want it Smile Do you need anything special that I have to add? *except an interior? Laughing *


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Frant
King's Bounty



Posts: 24978
Location: Your Mom
PostPosted: Sun, 19th Apr 2009 01:21    Post subject:
R-Type? Then you don't need to mess with quaternion nonsense, you just have to worry about X and Y. You could mess with Z if you want to add a little effect to the feeling, but it complicates matters a little. Wink


Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 19th Apr 2009 01:22    Post subject:
I thought about doing r-type AFTER I heard about the quaternions Laughing I even thought about something like a starfox game Laughing

Don't get me wrong, I don't have any problems with math Smile It's just that I wanted to do them..


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
SycoShaman
VIP Master Jedi



Posts: 24468
Location: Toronto, Canada
PostPosted: Sun, 19th Apr 2009 19:59    Post subject:
If any of you techie's would mind taking a request, how about a COOL version of the ST:Enterprise from the new Star Trek thats out in May.

Smile


Back to top
Page 2 of 2 All times are GMT + 1 Hour
NFOHump.com Forum Index - The Useless Void Goto page Previous  1, 2
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group