spReticle for Maya 2015 Win7

61 views
Skip to first unread message

Dan G

unread,
Sep 12, 2014, 5:08:04 AM9/12/14
to spReti...@googlegroups.com
Hello together,

Here you can download the completely VS project for easy importing into your VS project area.


I used Visual Studio 2012 (11.0.61030.00 ) with the newest update 4. .Net Framework version is 4.5.50938.

You will find the already compiled mll file under: 

..\spReticle\x64\Debug\spReticle.mll

Have fun and thx to the community!

Cheers,

Daniel

P.S: It would be great if I can upload the vs project directly into this forum. 

Arnav Singh

unread,
Mar 23, 2015, 9:25:02 AM3/23/15
to spReti...@googlegroups.com
please help me. Text is not showing in maya 2015, i wrote down text name but it is invisible in viewport. is that any kinda bug, could you please solve this problem.

hvera

unread,
Mar 23, 2015, 10:27:02 PM3/23/15
to spReti...@googlegroups.com
Arnav,

Can you provide additional information on the problem you are having, it isn't quite clear from your post.  Have you tried using some of the procedural text such as current frame?  Also, are you using any special viewport modes?

Arnav Singh

unread,
Mar 24, 2015, 10:22:11 AM3/24/15
to spReti...@googlegroups.com


Hi hvera,

Thanks for reply, as you can see in the screenshot attached, i even tried expression for current frames, but it is not showing on my viewport, neither on default nor viewport 2.0.
bug.jpg

Armin Bruderlin

unread,
Mar 24, 2015, 1:32:59 PM3/24/15
to spReti...@googlegroups.com
Hi Arnav,

I think the text is there, but out of view from your reticle. Try either of these to test:

Change "Text Position Relative To" from "Bottom Left" to "Center".

Change "Anchor Text To" from "Window" to "Filmback".

If you want the text in the bottom left, you might have to adjust the "Text Position" x and y values.

Thanks,
Armin.

On Tue, Mar 24, 2015 at 7:22 AM, Arnav Singh <arna...@gmail.com> wrote:


Hi hvera,

Thanks for reply, as you can see in the screenshot attached, i even tried expression for current frames, but it is not showing on my viewport, neither on default nor viewport 2.0.

--
You received this message because you are subscribed to the Google Groups "spReticle Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spReticle-de...@googlegroups.com.
To post to this group, send email to spReti...@googlegroups.com.
Visit this group at http://groups.google.com/group/spReticle-dev.
For more options, visit https://groups.google.com/d/optout.

Dan G

unread,
Mar 24, 2015, 2:59:19 PM3/24/15
to spReti...@googlegroups.com
Hi guys,

I checked the code against this issue.
Unfortunately this is a bug. Because I found no way how to render fronts with OpenGL in Maya. Windows has a different OpenGL version as spRecticle use in versions before.

Armin Bruderlin
arminte...@gmail.com> schrieb am Di., 24. März 2015 um 18:33:
Hi Arnav,

I think the text is there, but out of view from your reticle. Try either of these to test:

Change "Text Position Relative To" from "Bottom Left" to "Center".

Change "Anchor Text To" from "Window" to "Filmback".

If you want the text in the bottom left, you might have to adjust the "Text Position" x and y values.

Thanks,
Armin.

On Tue, Mar 24, 2015 at 7:22 AM, Arnav Singh <arna...@gmail.com> wrote:


Hi hvera,

Thanks for reply, as you can see in the screenshot attached, i even tried expression for current frames, but it is not showing on my viewport, neither on default nor viewport 2.0.

--
You received this message because you are subscribed to the Google Groups "spReticle Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spReticle-dev+unsubscribe@googlegroups.com.

To post to this group, send email to spReti...@googlegroups.com.
Visit this group at http://groups.google.com/group/spReticle-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "spReticle Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spReticle-dev/JfR0NyiuOxY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spReticle-dev+unsubscribe@googlegroups.com.

Arnav Singh

unread,
Mar 25, 2015, 7:12:18 AM3/25/15
to spReti...@googlegroups.com
Hi Dan, 
 
       Thanks for reply, i had already tried what armin said, i tried changing text position, anchor text and alignments but the result was same, previous version for 2014 worked well in maya but  
       for 2015, there is still something need to do or may be there is any setting in maya i am not aware of that can show the texts. it think i should wait for the next bug free version.

hvera

unread,
Mar 26, 2015, 10:17:21 PM3/26/15
to spReti...@googlegroups.com
Did you compile this yourself or grab it from somewhere?  If you compiled it yourself did you use glew?  Unfortunately, the default version of gl with Visual Studio is 1.1, which is too old.  It requires you to install glew.  I was able to take the latest cut from here and with minor modifications, and the installation of glew, compile it for Maya 2015 on Windows 7.  I have compiled only for Linux and OSX, for the most part.  I'll look at the changes I had to make (all very minor) to get it to compile in Visual Studio without complaints and see if Armin wants to incorporate them.

HV.

Dan G

unread,
Mar 27, 2015, 5:33:31 AM3/27/15
to spReti...@googlegroups.com
I complied it by myself. I didn't use Glew. I was trying to use it, to get more access to the OpenGL API but I could bring it together on Windows in a short time.
It would be very nice if you can compile it and share the VS project. 

--
You received this message because you are subscribed to a topic in the Google Groups "spReticle Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spReticle-dev/JfR0NyiuOxY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spReticle-de...@googlegroups.com.

gavin wright

unread,
May 18, 2015, 3:07:51 PM5/18/15
to spReti...@googlegroups.com
Hi Dan.  Did you ever get the fonts working? I'm having a similar problem in Win7 Maya 2015.

Dan G

unread,
May 19, 2015, 3:39:41 PM5/19/15
to spReti...@googlegroups.com
Hi Gavin,

unfortunately I didn't, I hope to get time to give a second try.
--
Daniel Goertz

-----------------------------------------
skype:  danielgo3
Message has been deleted
Message has been deleted
Message has been deleted

cle...@gmx.de

unread,
May 21, 2015, 9:41:52 AM5/21/15
to spReti...@googlegroups.com
Hvera,

thank you for the hint on glew. When I compile the plug-in for Windows using glew, the font gets displayed propererly.
Some Maya headers like M3dView.h include gl.h themselves. So glew.h must be imported before these headers.
These are the changes I did to revision 24:

defines.h:
> change line 51 to
#define SOURCE_MEL_SCRIPT       1
> change line 76 to
#define USE_MUIDRAWMANAGER      0

font.h:
> change line 79 to
    unsigned char data[2097152];

OpenGLRenderer.cpp:
> change line 41 to
#include <vector>
> change lines 273 and 274 to
    std::vector<TextureGlyph *> glyphs(numChars);
    std::vector<double> kerning(numChars);

OpenGLRenderer.h
> change line 57 to
#   include <GL/glew.h>

spReticleLog.cpp
> change line 54 to
#include <GL/glew.h>

Also after unpacking glew to C:\Libraries I configured my vcxproj file like this:
<PreprocessorDefinitions> containing NOMINMAX
<AdditionalIncludeDirectories> containing C:\Libraries\Glew-1.12.0\include
<AdditionalDependencies> containing OpenGL32.Lib and glew32s.lib but not glu32.lib
<AdditionalLibraryDirectories> containing C:\Libraries\Glew-1.12.0\lib\Release\x64

Attached you can find the Visual Studio project as well as the Windows version of the plug-in compiled for Maya 2015 Extension 1.

Clemens
spReticleVisualStudio.zip
spReticle2.0Maya2015Ext1Win.zip

hvera

unread,
May 21, 2015, 4:45:47 PM5/21/15
to spReti...@googlegroups.com
My pleasure.

I've been a bit distracted lately, which has prevented me from sending my changes to Sony so they can update the source.  I should have time in June.

Arnav Singh

unread,
Jun 7, 2015, 2:48:56 PM6/7/15
to spReti...@googlegroups.com


       Hi clemens,

Thanks for posting new version for Ext1 it worked perfectly. now it's showing fonts nicely and without any error message. 

Dan G

unread,
Jun 8, 2015, 3:02:19 AM6/8/15
to spReti...@googlegroups.com
Thank you very much for your post!!
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "spReticle Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/spReticle-dev/JfR0NyiuOxY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> spReticle-de...@googlegroups.com.
> To post to this group, send email to spReti...@googlegroups.com.
> Visit this group at http://groups.google.com/group/spReticle-dev.
> For more options, visit https://groups.google.com/d/optout.
>


--

jman

unread,
Oct 13, 2016, 11:06:39 AM10/13/16
to spReticle Developers
Maya 2016 ext1 win 10?? anyone? :)
Reply all
Reply to author
Forward
0 new messages