<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Adding a filled circle under the marker]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2233&amp;type=atom" />
	<updated>2024-03-04T20:57:20Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2233</id>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9466#p9466" />
			<content type="html"><![CDATA[<p>yes everything worked out</p>]]></content>
			<author>
				<name><![CDATA[lexamv]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2988</uri>
			</author>
			<updated>2024-03-04T20:57:20Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9466#p9466</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9464#p9464" />
			<content type="html"><![CDATA[<p>Try it yourself first.<br />It&#039;s very easy. <br />Just create another array of colours.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-03-04T17:22:10Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9464#p9464</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9461#p9461" />
			<content type="html"><![CDATA[<p>GREAT!!! Could you be asked to modify it so that you could set the color of each circle?</p>]]></content>
			<author>
				<name><![CDATA[lexamv]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2988</uri>
			</author>
			<updated>2024-03-04T16:49:45Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9461#p9461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9459#p9459" />
			<content type="html"><![CDATA[<p>An example of how to modify the script and shader for Vector Array is attached.</p><p>Unfortunately, I didn&#039;t understand your explanation about 3D markers.<br />If this problem is still relevant, please try to explain it in more detail.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-03-03T18:22:06Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9459#p9459</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9458#p9458" />
			<content type="html"><![CDATA[<p>Hello. Thanks for your work. Everything works great, but it doesn’t work with Shader.SetGlobalVectorArray. Not enough experience. We went the other way and decided to press an object that contains the material to the 3D marker and draw a simple circle of the desired color. We went and simply found 100 meters on the map, set a circle and tried to recalculate the scale taking into account the changes on the map. We calculate the coefficient and apply it to the object. Maybe you can tell us what the problem is?</p><p><a href="https://www.dropbox.com/scl/fi/m44powv6ol8i9v1a1fj6u/Screenshot_4.png?rlkey=rb8yvkc9xl6hln4z78n5vad60&amp;dl=0">https://www.dropbox.com/scl/fi/m44powv6 … 0&amp;dl=0</a></p>]]></content>
			<author>
				<name><![CDATA[lexamv]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2988</uri>
			</author>
			<updated>2024-03-03T11:45:22Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9458#p9458</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9444#p9444" />
			<content type="html"><![CDATA[<p>The current implementation of the script and shader can only work with a single object.<br />You can improve it by modifying the script and shader for Vector Array, in which case it can work with any number of objects.<br /><a href="https://docs.unity3d.com/ScriptReference/Shader.SetGlobalVectorArray.html">https://docs.unity3d.com/ScriptReferenc … Array.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-02-28T14:27:22Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9444#p9444</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9443#p9443" />
			<content type="html"><![CDATA[<p>Can you please tell me will this work for just one object on the map or can it be done on several at the same time?</p>]]></content>
			<author>
				<name><![CDATA[lexamv]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2988</uri>
			</author>
			<updated>2024-02-28T13:23:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9443#p9443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9441#p9441" />
			<content type="html"><![CDATA[<p>Thank you, it works great, but we applied the shader to the meshrender of the object by adding materials, so problems arose.</p>]]></content>
			<author>
				<name><![CDATA[lexamv]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2988</uri>
			</author>
			<updated>2024-02-28T00:53:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9441#p9441</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9440#p9440" />
			<content type="html"><![CDATA[<p>Sure, here&#039;s the video:<br /><a href="https://www.dropbox.com/scl/fi/ei97234jsm4zhai45bhhk/Online-Maps-Tileset-With-Circle.mp4?rlkey=592cd6r6tt86ff301itqgirl3&amp;dl=0">https://www.dropbox.com/scl/fi/ei97234j … 3&amp;dl=0</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-02-27T23:33:58Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9440#p9440</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9439#p9439" />
			<content type="html"><![CDATA[<p>something is not working, can you help and demonstrate how it should work?</p>]]></content>
			<author>
				<name><![CDATA[lexamv]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2988</uri>
			</author>
			<updated>2024-02-27T23:15:17Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9439#p9439</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9421#p9421" />
			<content type="html"><![CDATA[<p>I couldn&#039;t find this, so I created new ones (attached).<br />Select the shader in Tileset / Materials &amp; Shaders / Tileset Shader, and add the component to the GameObject.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-02-23T12:10:54Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9421#p9421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9420#p9420" />
			<content type="html"><![CDATA[<p>Really need!!! Please find this.</p>]]></content>
			<author>
				<name><![CDATA[lexamv]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2988</uri>
			</author>
			<updated>2024-02-22T23:16:08Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9420#p9420</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9419#p9419" />
			<content type="html"><![CDATA[<p>Hello.</p><p>This issue is described first in the Troubleshooting /Known issues section of the documentation. <br />Quote:<br /></p><div class="quotebox"><blockquote><p><strong>Drawing API - polygon has no fill in &quot;Tileset&quot;</strong><br />This problem is related to the very difficult polygon triangulation. Most likely, this problem will never be<br />solved.<br />How to work around the problem:<br />1. OnlineMapsDrawingElement.checkMapBoundaries = false.<br />This mode works correctly only if the lines do not intersect.<br />2. Use &quot;Draw to Texture&quot; mode.<br />3. (Not recommended) Use Drawing as Overlay.</p></blockquote></div><p>I can add a few more ways:<br />4. Use a 3D marker that looks like a circle, with Size Type - Meters, and the desired size.<br />5. Use a custom shader to draw the circle. <br />This will only work if you only need one circle.<br />Somewhere on the forum a user posted his implementation.<br />If you really need it I will try to find it.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-02-22T21:33:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9419#p9419</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Adding a filled circle under the marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9416#p9416" />
			<content type="html"><![CDATA[<p>Hello, we are finishing an old project that uses Online Maps<br />and we were faced with one problem that was probably simply too difficult for us. We need to draw a circle with a given radius around the marker, say 75 meters, and so that when scaling it would always be 75 m.</p><p>We found a good script that seems to work well, but it doesn&#039;t paint the area inside. Maybe we should take it as a basis and simply leave the painted area without a frame but with a precise radius with the ability to set the texture for coloring.</p>]]></content>
			<author>
				<name><![CDATA[lexamv]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2988</uri>
			</author>
			<updated>2024-02-22T18:48:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9416#p9416</id>
		</entry>
</feed>
