Search found 11 matches

by bogQ
Tue Feb 10, 2015 3:25 pm
Forum: Beginners Help
Topic: Problems with draw2DLine and draw3DLine
Replies: 2
Views: 591

Re: Problems with draw2DLine and draw3DLine

did not know that i need to use it coz when using only draw2DLine it looked ok and did not need setTransform :roll:
adding setTransform did correct my lack of knowledge, tu for help CuteAlien
by bogQ
Tue Feb 10, 2015 11:12 am
Forum: Beginners Help
Topic: Problems with draw2DLine and draw3DLine
Replies: 2
Views: 591

Problems with draw2DLine and draw3DLine

Im testing and playing around with lines in 3d space and on screen, and i stumbled on a problem

red line (on first picture) is from draw3DLine
red line is 3D position from camera direction 3d location (camera look@ pos) to 3d object in space and that part is ok

green line is from draw2DLine
green ...
by bogQ
Thu Nov 13, 2014 3:03 pm
Forum: Beginners Help
Topic: Problems with changed example 15.LoadIrrFile
Replies: 1
Views: 276

Problems with changed example 15.LoadIrrFile

I edited scene::ESNT_ANIMATED_MESH with adding 2 printf lines for comparing results
While first printf return 1752395105 witch shud be correct according to MAKE_IRR_ID if im not wrong.
node->getType() display 1700951395 witch shud not be correct

So either i'm trying to printf incorrect type or node ...
by bogQ
Mon Nov 26, 2012 4:50 pm
Forum: Beginners Help
Topic: #define MAKE_IRR_ID(c0, c1, c2, c3)
Replies: 3
Views: 686

Re: #define MAKE_IRR_ID(c0, c1, c2, c3)

ty randomMesh

just one more question to anyone so i dont mess it up
in case MAKE_IRR_ID('Z','I','P', 0), (irr::u32)(irr::u8)(0) is = 48 and not 0 (aka nul). correct?
by bogQ
Mon Nov 26, 2012 2:22 pm
Forum: Beginners Help
Topic: #define MAKE_IRR_ID(c0, c1, c2, c3)
Replies: 3
Views: 686

#define MAKE_IRR_ID(c0, c1, c2, c3)

Due to change from 1.7x to 1.8 in addZipFileArchive vs addFileArchive
can someone explain to me what is happening with E_FILE_ARCHIVE_TYPE on (irr::u32)(irr::u8)(c0) to (c4)

how do for example 'g' (what is happening with it) from MAKE_IRR_ID('g','z','i','p') is transfered (changed) for usage in ...
by bogQ
Thu Oct 25, 2012 1:53 pm
Forum: Beginners Help
Topic: getTexture(const io::path& filename) via com
Replies: 3
Views: 515

Re: getTexture(const io::path& filename) via com

i thought so too, but when i declare passed input parameter as string it crashe the process. If i use virtual const io::path& getFileName(u32 index) const = 0;
and set the return value to be a pointer type, calling getTexture parametar with it declared as pointer works.
So that's why i was looking ...
by bogQ
Wed Oct 24, 2012 7:40 pm
Forum: Beginners Help
Topic: getTexture(const io::path& filename) via com
Replies: 3
Views: 515

getTexture(const io::path& filename) via com

I'm trying to access parts of engine via com objects but i'm stuck on path parameter io::path as it need i presume object bound to that file.
Is there a way of inputing path parameter with no io::path included, like string path, or whud i need to IReferenceCounted some func with string input and to ...
by bogQ
Wed Dec 15, 2010 12:19 am
Forum: Beginners Help
Topic: Why irrlicht dont have funcs exported to dll?
Replies: 7
Views: 921

Im looking but im not seeing
Lets say that i need to return pointer of CreateDevice func
so
"ptr","CreateDevice"...
will work probably
next i look at
IRRLICHT_API IrrlichtDevice* IRRCALLCONV irr::createDeviceEx ( const SIrrlichtCreationParameters & parameters )

And i dont see how whyd i call dll ...
by bogQ
Tue Dec 14, 2010 11:44 pm
Forum: Beginners Help
Topic: Why irrlicht dont have funcs exported to dll?
Replies: 7
Views: 921

Is there some pointers of how to achieve this or some documentation?
Lets say that i need to call GetTexture command, how whyd i achieve this when calling CreateDevice or CreateDeviceEx?
by bogQ
Tue Dec 14, 2010 10:53 pm
Forum: Beginners Help
Topic: Why irrlicht dont have funcs exported to dll?
Replies: 7
Views: 921

Why irrlicht dont have funcs exported to dll?

I mean, you gota make wraper for some less used language instead using dll call from predefined funcs.
Is there a plan to add something like this in a future or its not on todo list and will not b on the list?
by bogQ
Sat Jan 09, 2010 6:25 pm
Forum: Beginners Help
Topic: Dll call on irr dll?
Replies: 1
Views: 686

Dll call on irr dll?

I dont understand one part of irr dll.
When i look available commands for kernel32.dll (or some other win dll) i have list of around 950 functions that can b called using dll call. In case of irr i have 0 (well not 0, i have 12 of them that dont make sens at least to me)
class irr::core::CMatrix4 ...