Search found 140 matches

by Iyad
Mon Sep 21, 2020 2:38 pm
Forum: Beginners Help
Topic: read file from memory DEBUG vs RELEASE
Replies: 3
Views: 728

Re: read file from memory DEBUG vs RELEASE

Hi, thank you for your fast answer, I don't think it has to do with the header file, its raw hex data, since I manage to load the data in memory and open it in debug mode it should also load it in release mode. Nothing changed in the file, only the build I selected in VS with its configuration and t...
by Iyad
Fri Sep 18, 2020 4:46 pm
Forum: Beginners Help
Topic: read file from memory DEBUG vs RELEASE
Replies: 3
Views: 728

read file from memory DEBUG vs RELEASE

Hi, I am visual studio c++ 2019, and building a small app using irrlicht. My app is portable so I embed my data inside the program using bin2h. With bin2h I managed to transform my password encrypted ZIP file into a unsigned char[] :   unsigned char resources_data[]={ 0x50,0x4b,0x03,0x04,0x33,0x00,0...
by Iyad
Sun Mar 18, 2012 6:46 pm
Forum: Beginners Help
Topic: Reccomendations for physics
Replies: 21
Views: 1361

Re: Reccomendations for physics

@Iyad To do something like that I guess I'll have to modify irrlicht's code, I dont know if I can put my hands on the collision algorithms You dont need to modify any source code. Only get all of your objects and calculate gravity force. Then apply this force to all of your objects. The collision r...
by Iyad
Sat Mar 17, 2012 8:28 pm
Forum: Beginners Help
Topic: Reccomendations for physics
Replies: 21
Views: 1361

Re: Reccomendations for physics

Why don't you keep irrlicht's collision detection and simply calculate by yourself the gravitationnal force between to objects. This is way easier if you simply want gravity and collision detection. And if the force is strong enough between the "land" and the object probably it won't climb...
by Iyad
Wed Feb 22, 2012 3:11 am
Forum: Beginners Help
Topic: Irrlicht help with Code Blocks
Replies: 4
Views: 323

Re: Irrlicht help with Code Blocks

put Irrlicht library in the valid path! you need to compile it first on mac!
by Iyad
Tue Feb 14, 2012 4:53 pm
Forum: Beginners Help
Topic: My Custom SceneNode doesn't work
Replies: 11
Views: 618

Re: My Custom SceneNode doesn't work

OFF-TOPIC
hybrid wrote:Make sure to disable lighting (at least for testing) and maybe try to enable wireframe. This will sometimes show something even if the full picture is broken.
This is hybrid's 13000 post.
by Iyad
Sat Feb 11, 2012 6:08 pm
Forum: Beginners Help
Topic: C++ Help
Replies: 1
Views: 425

Re: C++ Help

You defined isdigit() twice (as an overloaded function) and the compilers doesn't know which one to use.
by Iyad
Thu Feb 02, 2012 12:05 am
Forum: Off-topic
Topic: Stats of the human eye
Replies: 13
Views: 2944

Re: Stats of the human eye

Well, the brain processes vision at approximately 60 hertz, and the resolution is infinite because there are no little sectors to represent a color. Actually this is not true, the eye and brain does really not work like a computer, theres no refresh rate neither frameskip in eyes or brain. simply b...
by Iyad
Mon Jan 30, 2012 10:24 pm
Forum: Beginners Help
Topic: Irrlicht in Arch Linux
Replies: 12
Views: 2739

Re: Irrlicht in Arch Linux

if he executed the examples than he compiled them because examples aren't precompiled when you download irrlicht source.
my guess is that you forgot to link -lx11. you probably forgot some more but ill check this for you when ill be back home i already set up code::blocks and irrlicht on archlinux.
by Iyad
Mon Jan 30, 2012 10:16 pm
Forum: Beginners Help
Topic: Two textures
Replies: 2
Views: 174

Re: Two textures

set texture layer to 1 for the second texture.
or merge both textures in 1 image and recalculate UV for the model.
by Iyad
Thu Dec 22, 2011 2:32 am
Forum: Beginners Help
Topic: 2D softbody?
Replies: 5
Views: 473

Re: 2D softbody?

Thanks klunk, I red this and it seems way to complicated for what I am doing right now, I don't even know if it is going to be efficient for about 200-300 bubbles (I want this to run on a P3). I am going to do some animated bubbles, no need for random deformation... For the moment, I want to ask if ...
by Iyad
Sun Dec 18, 2011 8:49 pm
Forum: Beginners Help
Topic: 2D softbody?
Replies: 5
Views: 473

2D softbody?

Hi everyone, I need to draw some kind of a compact softbody (like a bubble) in 2d, I tought I could use IVideoDriver::draw2DVertexPrimitiveList() with a list of moving vertices. These vertices will keep a distance from the center of the bubble but I want them to have a movement (random, no physics/c...
by Iyad
Tue Oct 11, 2011 7:56 pm
Forum: Beginners Help
Topic: How to create and use triggers
Replies: 7
Views: 692

Re: How to create and use triggers

Im used to create invisible boudning boxes and detect interation to, but what I would suggest if you want tons of triggers in your map, to partition them (using a tree like structure) and then evaluate (using a for-loop) depending on your position if it is possible to interact with something in your...
by Iyad
Tue Oct 11, 2011 7:42 pm
Forum: Beginners Help
Topic: How to turn character in the direction of the mouse?
Replies: 3
Views: 432

Re: How to turn character in the direction of the mouse?

You can use irr::gui::getCursorControl* and call getPosition() so you can have the position of your mouse on the screen (in pixels), the top left corner of your window is 0,0 and the bottom right corner is X, Y. Since you know your characther is in the center of the screen, then you know its positio...
by Iyad
Sat Aug 06, 2011 10:55 pm
Forum: Beginners Help
Topic: The name of the character
Replies: 2
Views: 331

Re: The name of the character

virtual ITextSceneNode* irr::scene::ISceneManager::addTextSceneNode(gui::IGUIFont *font, const wchar_t *text, video::SColor color = video::SColor(100, 255, 255, 255), ISceneNode *parent = 0, const core::vector3df &position = core::vector3df(0, 0, 0), s32 id = -1 )       Add a text scene node wi...