Browsing articles from "August, 2011"
Aug
13
2011

Function: Integer to Roman numerals

Small function for converting integer into roman numbers. ie 2012 = MMXII

Aug
12
2011

WIP: Maze Generator (editor script)

MazeGenerator Editor script (actual maze algorithm from here) Current status: – Some problems with collisions(?) – 100×100 is ok, 500×500 hangs unity.. – Note that it can build a good maze, but some problems with those plane collisions (it creates invidual mesh planes for the […]

Aug
11
2011

Draw mandelbrot on a plane texture

Mandelbrot plotter converted to unity from this source: http://rosettacode.org/wiki/Mandelbrot_set You can increase the resolution by adjusting texture widht & height. Webplayer: http://unitycoder.com/upload/demos/mmandelbrot1/ (nothing much to see, it just draws the mandelbrot on a plane at function start()) Download source + webplayer scene: mandelbrot.unityPackage

Aug
11
2011

FractalTree v1.0 (2D)

2D Fractaltrees using linerenderer. Converted Unity version from this source: http://rosettacode.org/wiki/Fractal_tree#JavaScript Webplayer: http://unitycoder.com/upload/demos/mfractaltree1/ Source download: http://www.mediafire.com/?eps34pa47ieklxx Lots of room for optimisation, since now its using separate gameobject+linerenderer for each branch.. Example images using different linerenderer materials (currently commented out in the source, you need to […]

Aug
10
2011

Painting holes with shader v2.0

mHolePainter v2.0 (just a test/concept demo..) Using a shader from http://www.unifycommunity.com/wiki/index.php?title=Dissolve_With_Texture we can make “holes” in the material using texture. Then just add drawing into that “hole” texture and we have a hole-painter! Added to this version is: – You can fill the holes by […]

Aug
9
2011

Painting holes with shader v1.0

mHolePainter v1.0 Using a shader from http://www.unifycommunity.com/wiki/index.php?title=Dissolve_With_Texture we can paint “holes” to the cutout texture. Webplayer: http://unitycoder.com/upload/demos/mholepainter1/ Download: mHolePainter1.UnityPackage

Aug
9
2011

Black light shader (fake shadow)

My first shader test. I know there is already blob shadow, using “projector”, but wanted to try editing some shader examples. You set this shader to the object you want to receive black light from the spotlight. Instructions: Get the original code for the shader: […]

Aug
9
2011

Latitude Longitude on 3D sphere

Testing sphere (earth), with latitude longitude positions. (Texture is just thrown in there and sphere is rotated 197′ to get roughly correct positions, tested atleast few cities) Maybe could use this with GeoIP, News location plotting, Weather news plotter, GPS data, Twitter, GoogleMaps api etc..? […]

Aug
9
2011

Fake Mesh Slicer v3.0

Testing different technique – Capsule (but bit too low poly & capsulecollider not so good for this..) – ‘Infinity plane’ for cutting ( http://unity3d.com/support/documenta…nce/Plane.html ) – Using “Plane.GetSide” to check which side the vertex is – if its above cutplane, move it down with distance […]

Aug
9
2011

Fake Mesh Slicer v2.0

Another test scene: – with cylinder, sideways. webplayer: http://unitycoder.com/upload/demos/slicer2/ a/d = move cylinder space = slice mouse = drag objects download: fakeslicer2.unitypackage

Pages:«123»

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.