corgano Posted June 21, 2010 Posted June 21, 2010 I have been trying different settings in sketchup, but no success. It will do transparent faces as transparent, but not with color. I am going to ask around on the sketchup forum. Slightly unrelated, but how do you change the speed that the camera moves? I find that i keep flying through my model because the camera is too fast 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e
linus Posted June 21, 2010 Posted June 21, 2010 (edited) I did myself a quick&dirty definition file for scite to have more comfort (code completion + user call tips) using JRowe's nice new UDF. If there are others also lazy but not knowing how to do this themselves:Use in scite Tools > UserCallTipEntries and add content of attached definition file.Edit: File removed - it's now included in the examples package (see later post).Also a question: had anybody success with "_IrrAddSkyDomeToScene"? Skybox is working fine for me, but Skydome did nothing. No skydome nor error. Syntax of UDF definition looks ok for me (same as in the original + working freeBasic wrapper). So I have definetly no idea what could be wrong? Edited July 6, 2010 by linus
bogQ Posted June 22, 2010 Posted June 22, 2010 horizontal_res as uinteger, vertical_res as uinteger$result = DllCall($_irrDll, "ptr:cdecl", "IrrAddSkyDomeToScene", "ptr", $h_Texture, "int", $i_HorizontalRes, "int", $i_VerticalRes...@JRowe In udf they r defined as "int" and probably need to change to "uint" (i too have problems to make it work )?!! TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.
linus Posted June 22, 2010 Posted June 22, 2010 (edited) horizontal_res as uinteger, vertical_res as uinteger $result = DllCall($_irrDll, "ptr:cdecl", "IrrAddSkyDomeToScene", "ptr", $h_Texture, "int", $i_HorizontalRes, "int", $i_VerticalRes... @JRowe In udf they r defined as "int" and probably need to change to "uint" (i too have problems to make it work )?!! ... was too blind - that's it! Also the last param is wrong - not float but double. So the complete + working thing for the UDF is Func _IrrAddSkyDomeToScene($h_Texture, $i_HorizontalRes, $i_VerticalRes, $d_TexturePercent, $d_SpherePercent, $d_SphereRadius) $result = DllCall($_irrDll, "ptr:cdecl", "IrrAddSkyDomeToScene", "ptr", $h_Texture, "uint", $i_HorizontalRes, "uint", $i_VerticalRes, "double", $d_TexturePercent, "double", $d_SpherePercent, "double", $d_SphereRadius) Return $result[0] EndFunc ;==>_IrrAddSkyDomeToScene Hope JRowe is logging + merging those fixes Addon: Fix for _IrrAddHillPlaneMesh (current definition causes problems when using more than one hillPlane in a script because of wrong passed string for mesh name). Working def is: Func _IrrAddHillPlaneMesh($s_Name, $f_TileSizeX, $f_TileSizeY, $i_TileCountX, $i_TileCountY, $h_Material = 0, $f_HillHeight = 0, $f_CountHillsX = 0, $f_CountHillsY = 0, $f_TextureRepeatCountX = 1, $f_TextureRepeatCountY = 1) $result = DllCall($_irrDll, "ptr:cdecl", "IrrAddHillPlaneMesh", "str", $s_Name, "float", $f_TileSizeX, "float", $f_TileSizeY, "int", $i_TileCountX, "int", $i_TileCountY, "ptr", $h_Material, "float", $f_HillHeight ,"float", $f_CountHillsX, "float", $f_CountHillsY, "float", $f_TextureRepeatCountX, "float", $f_TextureRepeatCountY) Return $result[0] EndFunc ;==>_IrrAddHillPlaneMesh Edited June 24, 2010 by linus
bogQ Posted June 23, 2010 Posted June 23, 2010 Slightly unrelated, but how do you change the speed that the camera moves? I find that i keep flying through my model because the camera is too fastIf your refering to Maya Camera the last parametar is speedirr_camera = IrrAddMayaCamera ( parent as irr_node, rotateSpeed as single, zoomSpeed as single, moveSpeed as single )_IrrAddMayaCamera( , 100.0, 100.0, 100.0) TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.
corgano Posted June 23, 2010 Posted June 23, 2010 Thanks, that helps. 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e
linus Posted June 27, 2010 Posted June 27, 2010 (edited) ... still playing around with Au3Irrlicht 2.0, I'll found and fixed some more problems in my local UDF: _IrrHideMouse() + _IrrShowMouse(), _IrrSetCameraClipDistance (not working because of missing param), _IrrAddChildToParent (wrong param order). If I am not wrong, also functions using byReference calls are not working - e.g. _IrrGetNodePosition() returns always '0' values. This rewritten version works for me: Func _IrrGetNodePosition($h_Node, ByRef $a_Vector3df) Dim $a_Vector3df[3] $result = DllCall($_irrDll, "none:cdecl", "IrrGetNodePosition", "ptr", $h_Node, "float*", $a_Vector3df[0], "float*", $a_Vector3df[1], "float*", $a_Vector3df[2]) if @error Then Return Seterror(1,0,False) Else $a_Vector3df[0] = $result[2] $a_Vector3df[1] = $result[3] $a_Vector3df[2] = $result[4] Return True EndIf EndFunc ;==>_IrrGetNodePosition I guess some other get-functions could/should be reworked this way. Unfortunately JRowe seems to be currently "inactive" - Maybe holidays, busy in job, or bought a VW A little bit unsure how to continue without coordination of JRowe. This promising project should become stable + useable - but in common! I definetly don't want to end up in a separate + private branch of JRowe's excellent work. Opinions? Edited June 27, 2010 by linus
JRowe Posted June 28, 2010 Author Posted June 28, 2010 Sorry about the inactivity, this is a fun time for me. I've been doing a lot of work and moving into a new office. I'll get my act together and get a new release out by wednesday - I'll also set up a Google code page for myself and anyone who wants to contribute. On the plus side of things, there are a bunch of new features to be added. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center]
linus Posted June 28, 2010 Posted June 28, 2010 Hello JRowe, no VW but work - that's what I thought, so au3I2.0 will continue. Nice to see you back! Goggle code page is a nice + good idea, maybe I can give a helping hand. Not too deep, but I think there is still a lot to do (fixing definitions, converting all the freeBasic demos ...)? Don't know if my modified au3irrlicht.au3 is helpful for you (winMerging)?
kaotkbliss Posted June 28, 2010 Posted June 28, 2010 I really wish I knew more to help with the project , but if I may make a suggestion (when it comes time to do it) If a help file is made, cut the examples to just the function and bare necessities. The original help was hard to follow because most of the examples had the same code (and a full script) and since some functions I was able to work out (with help) adding a specific function became confusing trying to figure out just the parts that were needed for that. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
linus Posted July 4, 2010 Posted July 4, 2010 (edited) If a help file is made, cut the examples to just the function and bare necessities. The original help was hard to follow because most of the examples had the same code (and a full script) and since some functions I was able to work out (with help) adding a specific function became confusing trying to figure out just the parts that were needed for that.A helpfile is definetly a nice idea, but at current status of the project too soon to think about (nevertheless, if anybody has some info and/or link how the au3 help is done? ) ... But converted examples should also help you out - the original freeBasic demos are very nice to follow, and when you can try them directly in au3 it should give you everything to work yourself into the features + usage of the irrlicht engine. I am working on a conversion (36 50 demos are done 'til now, hooray ), keeping all the very helpful comments + explanations of the original demos.Edit: To give anybody interested an overview what is already possible with au3irrlicht2, I attach what I have until now. The .zip includes working demos, original + modified UDF, an updated usercalltips.api and the msvcp71.dll not included in the wrapper. More info in the included 00_examples_readme.txt.!!Please note: this is work in progress and moreover, some kind of a private branch (which I hope can be merged into next "oficial" release)!!Edit2: Example package V0.1 removed. See updated V0.2 in later post.As jRowe is setting up a google code page for this project, I can up the working demos there if needed (and it is still compatible with current work of jRowe ) Edited July 6, 2010 by linus
kaotkbliss Posted July 4, 2010 Posted July 4, 2010 I know this project is far from complete and not ready for a help file yet. I just wanted to throw the suggestion out there while I was thinking about it. Percy did a great job on the first plug-in, but the helpfile wasn't very helpful Every example for each function had the exact same code so it was hard to tell what code went with what function. Anyways, keep up the great work! I am really looking forward to learning this. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
linus Posted July 6, 2010 Posted July 6, 2010 (edited) A late update for the examples package: includes now 60 70 completely converted examples at all + updated modified UDF + matching calltips file. Rest of info again inside the .zip (00_examples_readme.txt).Edit:au3irrlicht2_examples_0_2.zipEdit2:au3irrlicht2_examples_0.3.zipObsolete, latest examples + rest are now included into jRowe's releases.So keep yourself updated here: http://code.google.com/p/au3irrlicht2BTW: Feedback still highly welcome!Think this package shows nicely what's possible by now with au3Irrlicht2. And I hope this will bring (more) life to this project ... Feedback, comments and suggestions definetly welcome. Edited July 21, 2010 by linus
linus Posted July 12, 2010 Posted July 12, 2010 Also interest in this project seems to be ... well ... completely slept away: here is a new version of the example package (version 0.3, see post above). Includes now 70 fully converted + working examples. Don't know if worth to continue, since this seems to become a one man show. Maybe because of the world cup, maybe anybody else switched to the mature freeBasic version of the wrapper?
shadowhacker Posted July 12, 2010 Posted July 12, 2010 Actually i'm interested in this project. I am trying to develop a 3D FPS application, but i'm kinda new in game development, and right now i'm just testing various things.
bogQ Posted July 12, 2010 Posted July 12, 2010 Also interest in this project seems to be ... well ... completely slept away: Don't know if worth to continue, since this seems to become a one man show. Maybe because of the world cup, maybe anybody else switched to the mature freeBasic version of the wrapper?interest isnt problem, problem is to convert my 2000+ line script + rewriting with aditional functions that i did not have, from old to new and to not messitup As for me, im waiting JRowe-s release, dont need to reminde him all the time that im waiting for his update becose he already know it and im shure that he will relise it when he have free time on his side to work on it so theres no need to speed up everything, best to take it slow and make it good. TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.
linus Posted July 17, 2010 Posted July 17, 2010 (edited) As for me, im waiting JRowe-s release, dont need to reminde him all the time that im waiting for his update becose he already know it and im shure that he will relise it when he have free time on his side to work on it so theres no need to speed up everything, best to take it slow and make it good. Well, why not speed it up a little bit by helping jRowe with this project (he asked for it?!) Also he seems to be VERY busy for a longer time, I try to help with this project by getting all the freeBasic examples running. Which should also result in a fixed + useable UDF after all. 70 of 111 are done - think a good milestone ... Unfortunately I am currently completly stucked with the particle system. So maybe somebody else (with more experience and/or distance to this f*** problem) can invest some time to get me/the project back on the track ... Feel free + ambitious to give some whooo-why-didn't-you-see-it's-such-easy-Advice trancexx gave me already some hints about pointer usage in the dllCall. Think I understood but not sure if it's the core of the thing. So here we go: .zip includes: .au3: (working because using the default emitter (line 55). When adding own emitter (commented out line 106), irrLicht engine starts up, then produces runtime error after some time. .bas: a little bit reworked (original was a little bit confusing). Logically, it does exactly the same as the .au3. Except that it is working perfectly ... UDF: contains some more fixes/additions for the particle example. At very end there is the "evil" _IrrAddParticleEmitter with some comments maybe relevant for "diggin". Edit: Problem solved. Edited September 24, 2010 by linus
JRowe Posted July 20, 2010 Author Posted July 20, 2010 Ok, I have some unexpected free time, so I'll get my butt in gear. The only priority thing on my list to include from Au3Irrlicht 1 is the transparent overlay effect. Everything else is exactly as Linus is doing it so far - once all the demos are completed, the functions will be in working order as well - at which point, they can be cleaned up with function headers and docs, etc. Until then, the wrapper docs included in the file are explanatory enough to see how things work, in conjunction with the demo code. I've got the au3irrlicht google code page created, and I'll be adding Linus to the commiters list. Any suggestions are welcome, and if you want to contribute, let me know. I'll be uploading Linus' revision as the official starting point (2.01 sounds good to me.) I'll upload this latest update from Linus as the official 2.01 version, and then organize the source and examples in SVN. Thanks very much, Linus. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center]
JRowe Posted July 20, 2010 Author Posted July 20, 2010 (edited) http://code.google.com/p/au3irrlicht2/do...ds/detail?name=au3irrlicht2_examples.zipI'll update what I can, when I can. The particle stuff is almost there, I think, so we don't have much farther to go. Great work! There are some amazing effects in the examples already.TODO:Example 7 - Particle SystemExample 15 - Custom MeshExample 18 - Ray hitting nodesExample 22 - Indices and VerticesExample 25 - Particles from NodeExample 27 - Dynamic Particle EmitterExample 34 - Find NodesExample 35 - Saving a SceneExample 37 - Shader MaterialsExample 39 - Texture BlendingExample 59 - Limited Collision with PointExample 60 - Getting Node ChildrenExample 61 - Mouse WheelExample 62 - 6DOF CameraExample 64 - Tiled TerrainExample 66 - Stop ParticlesExample 67 - Push ParticlesExample 68 - Color ParticlesExample 69 - Spline ParticlesExample 70 - Texture and ImagesExample 71 - Sphere Terrain SurfaceExample 73 - Sphere Terrain CoordinatesExample 74 - Push Particle Mushroom CloudExample 75 - Push Particle ExplosionExample 79 - Newton CollisionExample 81 - GLSL Shader MaterialsExample 82 - Freetype textExample 83 - Embedded OpenGL CommandsExample 89 - Orthagonal CameraExample 90 - Collision PointExample 91 - Distance and CollisionExample 92 - Moving Entities by CollisionExample 93 - 3D Position from ScreenExample 95 - Rotating Nodes and Cameras for Flight SimulationExample 96 - Lighting and ShadowmapsExample 97 - Physics: Newton and ODEExample 103 - Billboard GroupsExample 104 - LoDExample 106 - Advanced StartExample 107 - Render to Texture with AlphaI'll cross things off the list as we go. the particles will fall into place once we have the original, basic example functioning correctly. The physics stuff may need some additional work and wrapping of their own. Edited July 20, 2010 by JRowe [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center]
Pottery Posted July 24, 2010 Posted July 24, 2010 How would you restrict movement on the maps, so gravity applies.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now