Search found 189 matches

by kornwaretm
Thu Apr 05, 2018 1:25 pm
Forum: Beginners Help
Topic: Group Node Children
Replies: 5
Views: 951

Re: Group Node Children

not sure what you want, but to check parent child relation rather than iterating a node's children you can do the opposite compare the pointer to the parent node.   boo isParentChild(ISceneNode *suspectParent, ISceneNode *suspectChild) {        return suspectChild->getParent() == suspectParent; }  
by kornwaretm
Sun Dec 10, 2017 12:55 pm
Forum: Beginners Help
Topic: 2048 heightmap not supported anymore?
Replies: 1
Views: 500

2048 heightmap not supported anymore?

hi, i have an old code where i load 2048x2048 heightmap via smgr-,>addTerrainSceneNode. i think it is irrlicht 1.7 or 1.8 . not sure which. and it is loaded and rendered just fine. but when i re compile the code using newer irrlicht, it is loaded but not rendered. what happen?
by kornwaretm
Sat Aug 26, 2017 2:36 am
Forum: Project Announcements
Topic: blades of triangulum
Replies: 9
Views: 3571

Re: blades of triangulum

hi guys, i have a new hd gameplay trailer
gameplay trailer 2
by kornwaretm
Sat Aug 12, 2017 12:34 pm
Forum: Beginners Help
Topic: 2D Transforms
Replies: 3
Views: 685

Re: 2D Transforms

i have a 2d matrix class here http://irrlicht.sourceforge.net/forum/v ... =9&t=51662 . you can use it if it suits your need. just copy the codes there, one for the matrix2d and the simpleobject class. there`s also example how to use it.
by kornwaretm
Tue Jul 11, 2017 11:15 am
Forum: Beginners Help
Topic: android camera SurfaceTexture
Replies: 4
Views: 1563

Re: android camera SurfaceTexture

find the problem finally. it was stupid, "uniform sampler2D tex", what i need is "uniform samplerExternalOES tex"       private static final String PIXEL_SHADER =         "#extension GL_OES_EGL_image_external : require\n" +             "varying vec2 coor;\n" +...
by kornwaretm
Tue Jul 11, 2017 8:25 am
Forum: Beginners Help
Topic: android camera SurfaceTexture
Replies: 4
Views: 1563

Re: android camera SurfaceTexture

i manage to do continues drawing the camera capture, and copy the pixels from android's gles to irrlicht's ITexture. still facing problem. somehow camera capture always gives black screen. here is my code so far. frame available listener   cameraTexture = new SurfaceTexture(textureId); cameraTexture...
by kornwaretm
Fri Jun 30, 2017 5:09 am
Forum: Game Assets
Topic: Free Music / SFX Resource - Over 1500 Tracks
Replies: 221
Views: 54388

Re: Free Music Resource

wow you are extremely productive. awesome
by kornwaretm
Fri Jun 30, 2017 5:06 am
Forum: Beginners Help
Topic: android camera SurfaceTexture
Replies: 4
Views: 1563

Re: android camera SurfaceTexture

so my progress, i read that i have to render the camera image via offscreen GLES, and i manage to create a secondary GLES context from java android. the creation, shader compile, texture creation are successful, but somehow when the surfaceTexture gets the OnFrameAvailableListener called, android's ...
by kornwaretm
Fri Jun 30, 2017 4:56 am
Forum: Beginners Help
Topic: EET_LOG_TEXT_EVENT
Replies: 6
Views: 783

Re: EET_LOG_TEXT_EVENT

there is two things i concern, first i haven't try this, but based on the docs you have to set the log level, it is in device->getLogger()->setLogLevel(). second onEvent usually return false, so the next event get processed too, if true returned whatever event next will not be processed. log level d...
by kornwaretm
Fri Jun 30, 2017 4:37 am
Forum: Beginners Help
Topic: How to sort arrays on class members?
Replies: 4
Views: 1309

Re: How to sort arrays on class members?

to define an operator, just put the implementation like this to override the operator   class yourClass {    .............    bool operator<(const yourClass &other)    {         return this.attributeValue < other.attributeValue;    }    .............. };   this way you now can control the irr::c...
by kornwaretm
Wed Jun 28, 2017 5:57 pm
Forum: Project Announcements
Topic: blades of triangulum
Replies: 9
Views: 3571

Re: blades of triangulum

by kornwaretm
Tue Jun 27, 2017 5:18 pm
Forum: Beginners Help
Topic: EET_LOG_TEXT_EVENT
Replies: 6
Views: 783

Re: EET_LOG_TEXT_EVENT

i know that EET_LOG_TEXT_EVENT can be used to listen shader compile error, i confirm this works. Probably using ILogger class too, never try thou. Please provide more information, about what are you trying to achieve, probably some of the code.
by kornwaretm
Wed Jun 14, 2017 12:27 pm
Forum: Project Announcements
Topic: blades of triangulum
Replies: 9
Views: 3571

Re: blades of triangulum

graphics upgrade. added ssao, hue saturation control.
Image
by kornwaretm
Mon Jun 12, 2017 12:31 pm
Forum: Beginners Help
Topic: Textures Issue when loading obj with mtl file
Replies: 6
Views: 1010

Re: Textures Issue when loading obj with mtl file

i'm pretty sure blender's obj exporter is okay. one thing to note though, in blender normals are calculated from the object's origin ( the orange dot inside the object) if the floor or any flat surface that is not forming any volume is recalculated. The direction from origin to triangle or quad will...
by kornwaretm
Mon Jun 05, 2017 4:07 am
Forum: Beginners Help
Topic: android camera SurfaceTexture
Replies: 4
Views: 1563

android camera SurfaceTexture

i create a camera capture on java side using SurfaceTexture so i dont need to display anything on screen. i got stuck on transfering SurfaceTexture to ITexture. i kinda lost here no clues at all. can i read gles context from java ? or somehow create rendertarget in irrlicht and use it on java? thank...