Search found 110 matches

by pin3
Wed Mar 17, 2010 5:18 am
Forum: Project Announcements
Topic: gFactory - game creation toolkit.
Replies: 17
Views: 7314

the page is down, but there`s nothing to show anyways, I don`t have a new release yet
by pin3
Thu Mar 11, 2010 4:38 pm
Forum: Beginners Help
Topic: Normals
Replies: 9
Views: 1048

So you can only have a normal per vertex so If I use indices in a cube (to keep the vertex count low) then I can't have the cube properly lit because I can't have more than 8 normals?
by pin3
Thu Mar 11, 2010 10:25 am
Forum: Beginners Help
Topic: Normals
Replies: 9
Views: 1048

I know it's a perpendicular line per corner/vertex problem is I've seen also three perpendicular lines per corner(in cubes)

Each corner / vertex unites three or four surfaces each with its own own inclination. Which of three/four potential normals do I choose
by pin3
Wed Mar 10, 2010 9:46 am
Forum: Beginners Help
Topic: Normals
Replies: 9
Views: 1048

Normals

I`m trying to figure out how normals work. I`m using a custom scene node and the normal values in the c s n tutorial don`t make sense to me
by pin3
Wed Mar 10, 2010 6:08 am
Forum: Beginners Help
Topic: rtt
Replies: 10
Views: 1022

Ok so I got u32* data = (u32*)image->lock(); the question is what do I use u32, u16 or u8? Is it dependant on the image format? ISceneNode* n = M->addCubeSceneNode(60); ITexture* t = 0; if (R->queryFeature(video::EVDF_RENDER_TO_TARGET)) { t = R->addRenderTargetTexture(core::dimension2d<u32>(256,256)...
by pin3
Tue Mar 09, 2010 11:48 am
Forum: Project Announcements
Topic: gFactory - game creation toolkit.
Replies: 17
Views: 7314

ok , I`m again on it. problems is it generates plain c++ code (classes etc)
I will use Irricht to show it off
by pin3
Tue Mar 09, 2010 7:48 am
Forum: Beginners Help
Topic: rtt
Replies: 10
Views: 1022

bumping this

in irrlicht 1.7 locking a texture returns void pointer not u8 how do I write pixel to the texture
by pin3
Wed Jan 27, 2010 8:39 am
Forum: Beginners Help
Topic: rtt
Replies: 10
Views: 1022

thx hybrid code I came up with off the bat u8 * Pixel = 0; while(device->run()) if (device->isWindowActive()) { driver->beginScene(true, true, 0); if (rt) { // draw scene into render target // set render target texture // 128x128 texture driver->setRenderTarget(rt, true, true, video::SColor(0,0,0,25...
by pin3
Wed Jan 27, 2010 8:14 am
Forum: Beginners Help
Topic: rtt
Replies: 10
Views: 1022

rtt

could some one post code on how to lock/write to individual pixels when doing render to texture
by pin3
Sun Jan 24, 2010 6:43 pm
Forum: Beginners Help
Topic: physics
Replies: 3
Views: 501

thx
by pin3
Sun Jan 24, 2010 4:58 pm
Forum: Beginners Help
Topic: physics
Replies: 3
Views: 501

physics

this is a general physics q rather than irrlicht spec.

how do I simulate a force. Like if I want to simulate a rocket how do I simulate the force that pulls it up.
by pin3
Tue Jan 12, 2010 5:03 am
Forum: Beginners Help
Topic: Aspect Ratio
Replies: 1
Views: 263

Aspect Ratio

Doing 2 viewports by splitting the screen into two columns what is the right aspect ratio for the 2 cameras? I tried 0.5 on both, in one it shows ok, in the other its all squashed int ResX = 800; int ResY = 600; ... device->getVideoDriver()->setViewPort(core::rect<s32>(0,0,ResX/2,ResY)); device->get...
by pin3
Wed Sep 02, 2009 6:23 am
Forum: Beginners Help
Topic: file system
Replies: 2
Views: 270

got it
by pin3
Tue Sep 01, 2009 3:54 pm
Forum: Beginners Help
Topic: file system
Replies: 2
Views: 270

file system

I`m trying to parse a xml file however the file system can`t find the file. I have no problem loading textures etc. irrd->getFileSystem()->addFolderFileArchive("D:\Documents and Settings\calin\My Documents\Visual Studio 2005\Projects\nan.E3\Debug\media"); bool test = irrd->getFileSystem()-...
by pin3
Tue Sep 01, 2009 3:49 pm
Forum: Beginners Help
Topic: Conversion, stringw to int
Replies: 2
Views: 269

Thanks!