Search the Community
Showing results for tags 'procedural'.
Found 4 results
Dwarden posted a topic in ARMA 2 & OA : MODELLING - (O2)We are releasing some information related to materials basics, texture maps etc. You may find them useful for Your projects. 1. RVMAT Basics (SuperShader, MultiMaterial, SkinShader, Procedural/Glass/Water/Detail/Normal/Specular/Tree etc. maps) URL: http://community.bistudio.com/wiki/RVMAT_basics Done: SuperShader for MAX and MAYA (no .fx files yet) http://community.bistudio.com/wiki/Super_shader Done: MultiMaterial for MAX (no sample .mcr script yet) http://community.bistudio.com/wiki/Multimaterial Done: SkinShader (no sample MAYA cgfx (screenshot) yet) http://community.bistudio.com/wiki/Skin_shader Done: Face wound textures http://community.bistudio.com/wiki/Face_Wound_Textures Done: Static Environmental Reflections (published mainly for compatibility reason as SuperShader (includes environmental map/fresnel) replacing this functionality) http://community.bistudio.com/wiki/Static_Environmental_Reflections * - some hints about physical properties at bottom http://community.bistudio.com/wiki/RVMAT_basics#Physical_properties (including Bullet Penetrability ) 2. Texture Map Types (includes HQ NM) URL: http://community.bistudio.com/wiki/Texture_Map_Types 3. Post Process effects URL: http://community.bistudio.com/wiki/Post_process_effects 4. Unit ergonomics (Soldier model proportions) URL: http://community.bistudio.com/wiki/Soldier_model_proportions 5. Weapons settings (some informations about weapon configs) http://community.bistudio.com/wiki/Weapons_settings 6. Damage: http://community.bistudio.com/wiki/Damage updated in BIKI: http://community.bistudio.com/wiki?title=Weapons_settings&diff=57833&oldid=56416 http://community.bistudio.com/wiki?title=Bullet_penetrability&diff=57836&oldid=52134 http://community.bistudio.com/wiki?title=RVMAT_basics&diff=57820&oldid=52837 while it's minor i hope it helps bit :) 7. other documentation per demand and as needed @TBD NOTE: Please don't edit these wiki pages w/o some prior discussion with BI staff as we will add more info into these in future ... Per demand => if it's possible i will see what can be done about such requests ... if you not post here just bug me on ARMA2 irc channel
I'm trying to take an in-game camera, and render it's output to the screen of a "Land_MobilePhone_smart_F". Using the code explained on the Procedural Textures page, that code looks something like this: _screen = createVehicle ["Land_MobilePhone_smart_F", [0,0,9999], , 0, "CAN_COLLIDE"]; _screen attachTo [player, [-0.08,1,-0], "head"]; _screen setDir 90; _screen setObjectTexture [0, "#(argb,512,512,1)r2t(cam_r2t,1)"]; _cam = "camera" camCreate [0,0,0]; _cam cameraEffect ["Internal", "Back", "cam_r2t"]; This works, but the image that is displayed on the smart phone is horribly stretched, because the hidden texture on the smart phone is twice as high as it is wide. So I tried playing with the width and height properties in the setObjectTexture (in the format where the texture is "#(argb,width,height,mipmaps)r2t(cam_r2t,aspect)"), by setting it to "#(argb,256,512,1)r2t(cam_r2t,1)", but that had no effect on the stretching, just the "quality" of the image in one direction or the other. So I tried changing the "aspect ratio" value by setting it as "#(argb,512,512,1)r2t(cam_r2t,0.5)", no luck. So I tried the other way, ""#(argb,512,512,1)r2t(cam_r2t,2)", still no luck. And I've tried every combination I can think of with width/height/aspectRatio combinations, nothing seems to prevent the image from being extremely stretched. As far as I can tell, the "aspect ratio" value in r2t has no effect whatsoever. Does anyone have any ideas how to get this camera to render properly, without have a 2:1 stretching effect? Thanks!
ColorPalette As part of a Eden's tools package I have been slowly putting together and as part of a mission workflow, I had the need for a colour palette. As this is something that works pretty well on its own I thought I would release it as a stand alone display for people to use. It can be used as a display as is, or will work quite happily buried in a ctrlsGroup. You can save up to 12 colours. Will output to RGBA 0-1 RGBA 0-255 RGBA Html RGB Html Procedural Texture Can be called with only a certain format pre defined ( demonstrated via player actions in the demo - cp_out ) Can be setup to return the chosen colour via a call back ( demonstrated via player actions in the demo - cp_out ) Can be given a call back for when the ui is exited ( demonstrated via player actions in the demo - cp_exit ) DOWNLOAD
In Porto, everything seemed normal, same for the soldiers there. Just another routine patrol. But this time, it goes horribly wrong and the soldiers find themselves fighting for their lifes. Can you survive? http://www.youtube.com/watch?v=lKVrRQQNDBs Rate, Comment and Subscribe! The mission is avalible on www.armaholic.com and is currently on the front page.