Search found 13 matches

by Vandrick
Fri Mar 13, 2009 5:52 am
Forum: Code Snippets
Topic: (C++) Mirror node for use with Irrlicht
Replies: 45
Views: 28772

Thanks for the mirrors they are very nice.
Image
by Vandrick
Thu Mar 12, 2009 9:05 pm
Forum: Beginners Help
Topic: "random" numbers
Replies: 3
Views: 504

I like my numbers to be very random so I wrote my own random functions not based off rand(). #include <time.h> bool RandomChance(s32 Chance); bool RandomChance(float Chance); s32 Random(s32 min, s32 max); float Random(float min, float max); s32 SystemTimeRet(SYSTEMTIME* Sys); bool RandomChance(s32 C...
by Vandrick
Thu Mar 12, 2009 7:02 am
Forum: Beginners Help
Topic: Edge detection with XEffects
Replies: 7
Views: 3502

uniform sampler2D ScreenMapSampler; uniform sampler2D DepthMapSampler; float unpackFloat(vec4 value) { float extractedDistance = (value.r + value.g / 256.0); return extractedDistance; } float calcSample(float depth, vec2 texCoords) { vec4 tempDepth = texture2D(DepthMapSampler, texCoords); float oth...
by Vandrick
Mon Mar 09, 2009 11:14 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Turn to target in 3D
Replies: 17
Views: 10773

Ah thats good to know. Sorry for the miss help.

The reason my Rotation only returns a 2d Rotation is because I use it to have one npc chase another. If they start looking up and down with a 3rd Rotation it would look silly.
by Vandrick
Mon Mar 09, 2009 3:57 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Turn to target in 3D
Replies: 17
Views: 10773

ArcTan does it for you and its fast.


core::vector3df LookAt(core::vector3df Pos1, core::vector3df Pos2)
{
core::vector3df Rot;
float X; float Y;
X = Pos1.X - Pos2.X ;
Y = Pos1.Z - Pos2.Z ;
Rot.Y = (irr::f32)((atan2(X, Y) * 180 / PI2) + 180);
return Rot;
}
by Vandrick
Mon Mar 09, 2009 1:23 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Normal Mapping made easy with Gimp! Tut
Replies: 3
Views: 3924

Thanks Bitplane I should have looked a little harder before I posted :oops:
by Vandrick
Mon Mar 09, 2009 1:18 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Rotate a Node, face another node
Replies: 22
Views: 42372

Never Mind this miss post...
by Vandrick
Sun Mar 08, 2009 5:21 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Normal Mapping made easy with Gimp! Tut
Replies: 3
Views: 3924

Normal Mapping made easy with Gimp! Tut

To start if you dont have Gimp or the Gimp Normal Map Plug in download these. Get Gimp http://www.gimp.org/ Get the Normal Map Plugin for Gimp http://nifelheim.dyndns.org/~cocidius/normalmap/ Once installed open the texture you wish to make 3D. http://img3.imageshack.us/img3/7043/85338680.jpg Then d...
by Vandrick
Sat Mar 07, 2009 2:52 pm
Forum: Project Announcements
Topic: Maria Snake 3D (Download)
Replies: 11
Views: 2939

Well, no matter how hard you protect it, as soon as you release it there will be people able to steal it (which does not mean they will do it though). Agreed but most people able to steal it really wouldn't bother with much stuff here. And that's where releasing unobfuscated content helps. When you...
by Vandrick
Sat Mar 07, 2009 5:52 am
Forum: Project Announcements
Topic: Maria Snake 3D (Download)
Replies: 11
Views: 2939

Coming from a hacker that can bypass Game Guard. I say your .ice format is a good thing. It will keep honest people from stealing your work. I plain on making all my game data load from a single file or even pack it in the exe with simple encryption. It wont keep every one from getting a hold of it ...
by Vandrick
Fri Mar 06, 2009 5:47 am
Forum: Everything 2d/3d Graphics
Topic: Post Your Irrlicht Screenshots / Render Here.
Replies: 1548
Views: 378070

Clean up the crappy dragons and now sporting some new shadow lights from Blindside =)

Image
Image

I found an easy way to make normal maps I plain to relase soon when I have time.

Cheers.
by Vandrick
Tue Mar 03, 2009 2:28 pm
Forum: Everything 2d/3d Graphics
Topic: Post Your Irrlicht Screenshots / Render Here.
Replies: 1548
Views: 378070

Pyritie wrote:Urgh, I think you need a better artist. Those dragons look like crap to be honest.
Thanks for the honesty. Sadly I am the artist / programmer / sound guy, so I guess its back to the drawling board.
by Vandrick
Tue Mar 03, 2009 3:12 am
Forum: Everything 2d/3d Graphics
Topic: Post Your Irrlicht Screenshots / Render Here.
Replies: 1548
Views: 378070

Some Screens

Heres some screens from my game http://img12.imageshack.us/img12/9999/tripod1io3.png http://img23.imageshack.us/img23/6885/tripod2nz2.png http://img21.imageshack.us/img21/4757/tripod3dl8.png I paused the game and took all 3 from different angles. Using XEffects and some personal modifications to Irr...